diff options
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 24afac72b4..a57894ae5d 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -37,6 +37,10 @@ fakeroot rootfs_rpm_do_rootfs () { | |||
37 | mkdir -p ${IMAGE_ROOTFS}/etc/rpm/ | 37 | mkdir -p ${IMAGE_ROOTFS}/etc/rpm/ |
38 | echo "${TARGET_ARCH}-linux" >${IMAGE_ROOTFS}/etc/rpm/platform | 38 | echo "${TARGET_ARCH}-linux" >${IMAGE_ROOTFS}/etc/rpm/platform |
39 | 39 | ||
40 | # Tell RPM that the "/" directory exist and is available | ||
41 | mkdir -p ${IMAGE_ROOTFS}/etc/rpm/sysinfo | ||
42 | echo "/" >${IMAGE_ROOTFS}/etc/rpm/sysinfo/Dirnames | ||
43 | |||
40 | # Setup manifest of packages to install... | 44 | # Setup manifest of packages to install... |
41 | mkdir -p ${IMAGE_ROOTFS}/install | 45 | mkdir -p ${IMAGE_ROOTFS}/install |
42 | echo "# Install manifest" > ${IMAGE_ROOTFS}/install/install.manifest | 46 | echo "# Install manifest" > ${IMAGE_ROOTFS}/install/install.manifest |