diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-06-17 13:45:55 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-06-17 14:01:22 (EDT) |
commit | cf09c0ea05db8158d2cd781d0315730fc58162cf (patch) | |
tree | 6160762f539e2150ef46a54daaeb9ef9f94772a7 /tests | |
parent | a1ae81b8656839e97a21577f5cac6cc5089e032c (diff) |
ob-gencontrol: Generate a "Section" field
And add it to SPF 2.x.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/pkg/bar.pkg/control | 1 | ||||
-rw-r--r-- | tests/data/pkg/foo.pkg/control | 1 | ||||
-rwxr-xr-x | tests/exe/ob-gencontrol.sh | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/data/pkg/bar.pkg/control b/tests/data/pkg/bar.pkg/control index b0c05fa..78bf79c 100644 --- a/tests/data/pkg/bar.pkg/control +++ b/tests/data/pkg/bar.pkg/control @@ -1,5 +1,6 @@ Architecture: all Platform: all +Section: utils Description: Bit-bang All Registers ${Common-Description} . diff --git a/tests/data/pkg/foo.pkg/control b/tests/data/pkg/foo.pkg/control index b383ff9..e768224 100644 --- a/tests/data/pkg/foo.pkg/control +++ b/tests/data/pkg/foo.pkg/control @@ -1,5 +1,6 @@ Architecture: any-linux-any Platform: all +Section: libdev Depends: ${Generated-Depends} Description: Frobnicator of Objects ${Common-Description} diff --git a/tests/exe/ob-gencontrol.sh b/tests/exe/ob-gencontrol.sh index 6f29d9b..3f3d05f 100755 --- a/tests/exe/ob-gencontrol.sh +++ b/tests/exe/ob-gencontrol.sh @@ -52,6 +52,7 @@ for run in 'first' 'second'; do Version: 1.0-1 Architecture: i686-linux-glibc Platform: all + Section: libdev Maintainer: "J. Random Hacker" <jrandom@example.com> Depends: bar Installed-Size: 1 @@ -71,6 +72,7 @@ for run in 'first' 'second'; do Version: 1.0-1 Architecture: all Platform: all + Section: utils Maintainer: "J. Random Hacker" <jrandom@example.com> Installed-Size: 0 Description: Bit-bang All Registers |