summaryrefslogtreecommitdiff
path: root/packages/images/initramfs-image.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/images/initramfs-image.bb')
-rw-r--r--packages/images/initramfs-image.bb16
1 files changed, 7 insertions, 9 deletions
diff --git a/packages/images/initramfs-image.bb b/packages/images/initramfs-image.bb
index 7728fd80ae..95e3f84082 100644
--- a/packages/images/initramfs-image.bb
+++ b/packages/images/initramfs-image.bb
@@ -1,19 +1,17 @@
# Sample initramfs image
LICENSE = "MIT"
-PR = "r1"
+PR = "r2"
-#RDEPENDS = "initramfs-boot busybox kernel-module-uinput uclibc libgcc1"
-RDEPENDS = "initramfs initramfs-module-nfs initramfs-module-loop \
- busybox-static"
-
-RRECOMENDS = "kernel-module-uinput kernel-module-fat \
- kernel-module-vfat kernel-module-loop"
+RDEPENDS = "initramfs-module-block initramfs-module-loop initramfs-module-nfs"
export IMAGE_BASENAME = "initramfs-image"
export IMAGE_LINGUAS = ""
PACKAGE_INSTALL = "${RDEPENDS}"
-# Install only ${PACKAGE_INSTALL}, not even deps
-PACKAGE_INSTALL_NO_DEPS = "1"
+
+# Remove any kernel-image that the kernel-module-* packages may have pulled in.
+PACKAGE_REMOVE = "kernel-image-* update-modules"
+ROOTFS_POSTPROCESS_COMMAND += "ipkg-cl ${IPKG_ARGS} -force-depends \
+ remove ${PACKAGE_REMOVE};"
inherit image