In this patch: debian/patches/feat-busybox-use-busybox-initramfs.patch:
--- a/modules.d/88squash-lib/module-setup.sh
+++ b/modules.d/88squash-lib/module-setup.sh
@@ -37,7 +37,7 @@ squash_install() {
# verify that there is a valid handler before doing anything
squash_get_handler > /dev/null || return 1
- _busybox=$(find_binary busybox)
+ _busybox=/usr/lib/initramfs-tools/bin/busybox
# Create mount points for squash loader and basic directories
mkdir -p "$initdir"/squash
And later in that script we have:
# Install required modules and binaries for the squash image init script.
if [[ $_busybox ]]; then
module_install "busybox"
else
DRACUT_RESOLVE_LAZY="" inst_multiple sh mount modprobe mkdir
switch_root grep umount
...
Where [[ $_busybox ]] will always be true. But did we check elsewhere
that /usr/lib/initramfs-tools/bin/busybox (the value of $_busybox)
actually exists? The dependency on bin_busybox-initramfs is only a
Recommends.
Previously the find_binary() function would guarantee that the thing it
found existed, right?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2150657
Title:
Use busybox instead of rust-coreutils in initrd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/2150657/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs