mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
fuse: Fix installed-vs-shipped for nativesdk
There are two problems:
* The /dev is installed to '${D}/dev', not '${D}${base_prefix}'
* The /etc is installed ${D}, but should be ${D}${sysconfdir}
It works for target is because target's base_prefix is NULL, but it isn't work
for native or nativesdk.
Fixed:
$ bitbake nativesdk-fuse
ERROR: nativesdk-fuse-2.9.9-r0 do_package: QA Issue: nativesdk-fuse: Files/directories were installed but not shipped in any package:
/dev
/etc
/etc/init.d
/etc/udev
/etc/init.d/fuse
/etc/udev/rules.d
/etc/udev/rules.d/99-fuse.rules
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a715d081cc
commit
69f234b65e
|
|
@ -54,7 +54,7 @@ do_configure_prepend() {
|
|||
}
|
||||
|
||||
do_install_append() {
|
||||
rm -rf ${D}${base_prefix}/dev
|
||||
rm -rf ${D}/dev
|
||||
|
||||
# systemd class remove the sysv_initddir only if systemd_system_unitdir
|
||||
# contains anything, but it's not needed if sysvinit is not in DISTRO_FEATURES
|
||||
|
|
@ -69,4 +69,10 @@ do_install_append() {
|
|||
fi
|
||||
}
|
||||
|
||||
do_install_append_class-nativesdk() {
|
||||
install -d ${D}${sysconfdir}
|
||||
mv ${D}/etc/* ${D}${sysconfdir}/
|
||||
rmdir ${D}/etc
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user