mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 19:46:31 +01:00
Merge branch 'after' into bare-metal-full
This commit is contained in:
commit
7dcbb32178
2 changed files with 5 additions and 0 deletions
|
|
@ -43,5 +43,6 @@ mkdir -p /rootonly
|
|||
# This doesn't recursively mount - that's why we're able to copy everything over
|
||||
mount --bind / /rootonly
|
||||
cp -ar /rootonly/* /newroot/
|
||||
sed -e 's/newroot//' /rootonly/etc/mtab | grep -v 'rootonly' > /newroot/etc/mtab
|
||||
umount /rootonly
|
||||
switch_root /newroot /init
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue