mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-30 14:25:43 +00:00
initramfs: create symlinks for /bin and /sbin
Point /bin and /sbin to rootfs directories in the 22.04 rootfs fs. /bin/bash not found in the initramfs causing the debug console and various scripts to fail. Fixes: #10959 Signed-off-by: Ryan Savino <ryan.savino@amd.com> Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
This commit is contained in:
parent
b97bc03ecb
commit
c888fadfac
@ -12,6 +12,8 @@ dir /mnt 0755 0 0
|
||||
file /init /usr/sbin/init.sh 0755 0 0
|
||||
file /sbin/busybox /usr/bin/busybox 0755 0 0
|
||||
file /sbin/veritysetup /usr/sbin/veritysetup.static 0755 0 0
|
||||
slink /usr/bin /bin 755 0 0
|
||||
slink /usr/sbin /sbin 755 0 0
|
||||
slink /bin/sh /sbin/busybox 0755 0 0
|
||||
slink /sbin/mount /sbin/busybox 0755 0 0
|
||||
slink /bin/mkdir /sbin/busybox 0755 0 0
|
||||
|
Loading…
Reference in New Issue
Block a user