poky-tiny: fix PACKAGE_EXCLUDE
PATCH 1/1 poky-tiny: fix PACKAGE_EXCLUDE
From: Ross Burton <[email protected]>
poky-tiny does a PACKAGE_EXCLUDE on shadow-base as the kernel doesn't support multiple users. However it does this by assigning to an override, which makes it impossible for images or machines to extend PACKAGE_INCLUDE with their own exclusions.
--- meta-poky/conf/distro/poky-tiny.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-poky/conf/distro/poky-tiny.conf +1 -1
@@ -125,4 +125,4 @@ PACKAGECONFIG:remove:pn-opkg-utils = "python" # If shadow-base is brought into the image, logins will fail because it # doesn't have the heuristics to work when CONFIG_MULTIUSER is unset. -PACKAGE_EXCLUDE:poky-tiny = "shadow-base" +PACKAGE_EXCLUDE += "shadow-base"
Signature · 1 line
2.34.1
Quoted 6 lines · Ross Burton
From: Ross Burton <[email protected]>
poky-tiny does a
PACKAGE_EXCLUDEon shadow-base as the kernel doesn't support multiple users. However it does this by assigning to an override, which makes it impossible for images or machines to extendPACKAGE_INCLUDEwith their own exclusions.
PACKAGE_INCLUDE?
Quoted 11 lines
Signed-off-by Ross Burton <[email protected]>--- meta-poky/conf/distro/poky-tiny.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-poky/conf/distro/poky-tiny.conf +0
-0
meta-poky/conf/distro/poky-tiny.conf PACKAGECONFIG:remove:pn-opkg-utils = "python" · line 128
Quoted 5 lines
meta-poky/conf/distro/poky-tiny.conf +1
-1@@ -125,4 +125,4 @@ PACKAGECONFIG:remove:pn-opkg-utils = "python" # If shadow-base is brought into the image, logins will fail because it # doesn't have the heuristics to work when CONFIG_MULTIUSER is unset. -PACKAGE_EXCLUDE:poky-tiny = "shadow-base" +PACKAGE_EXCLUDE += "shadow-base"
Does yocto-check-layer still pass?
Cheers,
Richard
Quoted 10 lines · Richard Purdie
Quoted 6 lines · Ross Burton
From: Ross Burton <[email protected]>
poky-tiny does a
PACKAGE_EXCLUDEon shadow-base as the kernel doesn't support multiple users. However it does this by assigning to an override, which makes it impossible for images or machines to extendPACKAGE_INCLUDEwith their own exclusions.
PACKAGE_INCLUDE?
More coffee needed. V2 incoming.
Quoted 6 lines
meta-poky/conf/distro/poky-tiny.conf PACKAGECONFIG:remove:pn-opkg-utils = "python" · line 128
Quoted 4 lines
# If shadow-base is brought into the image, logins will fail because it # doesn't have the heuristics to work when
CONFIG_MULTIUSERis unset.meta-poky/conf/distro/poky-tiny.conf +1
-1-PACKAGE_EXCLUDE:poky-tiny = "shadow-base" +PACKAGE_EXCLUDE += "shadow-base"Does yocto-check-layer still pass?
This is in the distro configuration so it still does nothing when not included, but:
INFO: meta-poky … PASS
Ross
Quoted 21 lines · Ross Burton
Quoted 10 lines · Richard Purdie
Quoted 6 lines · Ross Burton
From: Ross Burton <[email protected]>
poky-tiny does a
PACKAGE_EXCLUDEon shadow-base as the kernel doesn't support multiple users. However it does this by assigning to an override, which makes it impossible for images or machines to extendPACKAGE_INCLUDEwith their own exclusions.
PACKAGE_INCLUDE?More coffee needed. V2 incoming.
Quoted 6 lines
meta-poky/conf/distro/poky-tiny.conf PACKAGECONFIG:remove:pn-opkg-utils = "python" · line 128
Quoted 4 lines
# If shadow-base is brought into the image, logins will fail because it # doesn't have the heuristics to work when
CONFIG_MULTIUSERis unset.meta-poky/conf/distro/poky-tiny.conf +1
-1-PACKAGE_EXCLUDE:poky-tiny = "shadow-base" +PACKAGE_EXCLUDE += "shadow-base"Does yocto-check-layer still pass?
Quoted 3 lines
This is in the distro configuration so it still does nothing when not included, but:
INFO: meta-poky … PASS
Of course, that was the detail I was overlooking, thanks :)
Cheers,
Richard