mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
fix(sys-kernel/bootengine): don't mount dev recursive
fixes problems with /dev/pts being busy
This commit is contained in:
parent
f9dcc864a6
commit
59394db940
@ -31,7 +31,7 @@ src_install() {
|
||||
# and other fun stuff.
|
||||
pkg_postinst() {
|
||||
mount -t proc proc ${ROOT}/proc || die
|
||||
mount --rbind /dev ${ROOT}/dev || die
|
||||
mount --bind /dev ${ROOT}/dev || die
|
||||
mount --rbind /sys ${ROOT}/sys || die
|
||||
mount --rbind /run ${ROOT}/run || die
|
||||
|
||||
@ -41,7 +41,7 @@ pkg_postinst() {
|
||||
--fstab --no-compress /tmp/bootengine.cpio || die
|
||||
|
||||
umount --recursive ${ROOT}/proc || die
|
||||
umount --recursive ${ROOT}/dev || die
|
||||
umount ${ROOT}/dev || die
|
||||
umount --recursive ${ROOT}/sys || die
|
||||
umount --recursive ${ROOT}/run || die
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user