f
This commit is contained in:
parent
4e51c0e71f
commit
3982ec9ed1
@ -9,7 +9,7 @@ touch /usr/share/booster/hooks-early/pika_live.sh
|
|||||||
tee /usr/share/booster/hooks-early/pika_live.sh <<'EOF'
|
tee /usr/share/booster/hooks-early/pika_live.sh <<'EOF'
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
set -eS
|
set -e
|
||||||
|
|
||||||
cat /proc/cmdline | grep 'boot=live' || exit 0
|
cat /proc/cmdline | grep 'boot=live' || exit 0
|
||||||
|
|
||||||
@ -45,10 +45,10 @@ mkdir -p /mnt/overlay/upper /mnt/overlay/work
|
|||||||
mount -t overlay overlay -o lowerdir=/mnt/filesystem:/mnt/medium,upperdir=/mnt/overlay/upper,workdir=/mnt/overlay/work /booster.root
|
mount -t overlay overlay -o lowerdir=/mnt/filesystem:/mnt/medium,upperdir=/mnt/overlay/upper,workdir=/mnt/overlay/work /booster.root
|
||||||
|
|
||||||
### mount kernel filesystems
|
### mount kernel filesystems
|
||||||
mount -n -t devtmpfs devtmpfs /booster.root/dev
|
#mount -n -t devtmpfs devtmpfs /booster.root/dev
|
||||||
mount -n -t proc proc /booster.root/proc
|
#mount -n -t proc proc /booster.root/proc
|
||||||
mount -n -t sysfs sysfs /booster.root/sys
|
#mount -n -t sysfs sysfs /booster.root/sys
|
||||||
mount -n -t tmpfs tmpfs /booster.root/run
|
#mount -n -t tmpfs tmpfs /booster.root/run
|
||||||
|
|
||||||
|
|
||||||
### Switch to new root
|
### Switch to new root
|
||||||
|
Loading…
Reference in New Issue
Block a user