mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-05 05:04:47 +02:00
initrdscripts: Create /var/volatile subdirectories from init-boot-petitboot.sh
In fido, "base-files" now creates symlinks /var/log and /var/tmp which are redirected to /var/volatile/log and /var/volatile/tmp. These subdirectories are created by init managers like systemd or sysvinit, so petitboot initramfs needs to create them, as well. Otherwise pb-discover logs everything to the standard output as its log directory does not exist.
This commit is contained in:
parent
47fbe0756e
commit
127d1c1743
|
@ -7,6 +7,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|||
mount -t proc proc /proc
|
||||
mount -t sysfs sysfs /sys
|
||||
mount -t devtmpfs dev /dev
|
||||
mkdir /var/volatile/log /var/volatile/tmp
|
||||
/lib/udev/udevd --daemon
|
||||
pb-discover --verbose -l /var/log/pb-discover.log &
|
||||
udevadm trigger --action=add
|
||||
|
@ -15,4 +16,3 @@ udevadm settle
|
|||
clear
|
||||
export TERM=screen
|
||||
petitboot-nc
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user