scripts/kernel-test: fixup for initrd_add_file (details)
hnbgw: Skip asn1 talloc mem checks in osmo-hnbgw-latest (details)
Commit
94f8a8147ec788674f4f561a9571aec49bc7b0e1
by Oliver Smith
osmo-uecups-master: remove useradd
debian-bookworm-build already adds a user (as it is a combination of debian-bullseye-build and debian-bullseye-jenkins, and the latter did it). Remove the additional useradd in osmo-uecups-master to fix:
useradd: UID 1000 is not unique
I've looked through related configs and scripts and the username is not hardcoded there.
The initramfs filesystem layout is derived from the paths of the binaries and libraries in the full system. Create the same symlinks and adjust initrd_add_bin so it does not trip over the symlinks.
I've also considered to change all input for initrd_add_bin to point at the /usr/… paths. But this is not possible, for example ldd/lddtree will point at libraries in /lib and /lib64, and this gets passed to initrd_add_bin.
Without this patch, the init script and all binaries called from it cannot be executed.
Commit
90e48a63e00142d332d67da0b75a1f8ef2dd2b38
by Oliver Smith
scripts/kernel-test/run-qemu: set init=/init
Set init= so the kernel doesn't try to run other scripts if /init fails:
[ 2.946381] Run /init as init process [ 2.948885] Failed to execute /init (error -2) [ 2.949051] Run /sbin/init as init process [ 2.949329] Run /etc/init as init process [ 2.949566] Run /bin/init as init process [ 2.949795] Run /bin/sh as init process