osmith has uploaded this change for review.

View Change

scripts/kernel-test: adjust to usr-merge

In debian bookworm, /bin has been moved to /usr/bin. Adjust the path to
the busybox binary and the busybox install command. Without this patch,
busybox cannot be found / the install command fails since /bin does not
exist in the initramfs. (The initramfs filesystem layout is derived from
the paths of the binaries and libraries in the full system.)

Related: OS#6057
Related: https://wiki.debian.org/UsrMerge
Change-Id: I975d3af0fa88869688673936a08189de800fba29
---
M scripts/kernel-test/initrd-init.sh
1 file changed, 19 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/74/33774/1
diff --git a/scripts/kernel-test/initrd-init.sh b/scripts/kernel-test/initrd-init.sh
index c2d936a..4e031df 100755
--- a/scripts/kernel-test/initrd-init.sh
+++ b/scripts/kernel-test/initrd-init.sh
@@ -1,4 +1,4 @@
-#!/bin/busybox sh
+#!/usr/bin/busybox sh
echo "Running initrd-init.sh"
set -ex

@@ -7,7 +7,7 @@
export PATH=/usr/local/bin:/usr/bin:/bin:/sbin:/usr/local/sbin:/usr/sbin
export TERM=screen

-/bin/busybox --install -s
+/usr/bin/busybox --install -s /usr/bin

hostname qemu


To view, visit change 33774. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I975d3af0fa88869688673936a08189de800fba29
Gerrit-Change-Number: 33774
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange