mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-01 09:50:31 +00:00
initramfs: some spell checking on init script
This commit is contained in:
parent
38ee0b183d
commit
cbd3adf0f6
@ -22,7 +22,7 @@ eend() {
|
|||||||
else
|
else
|
||||||
shift
|
shift
|
||||||
echo "failed. $*"
|
echo "failed. $*"
|
||||||
echo "Emergency recovery shell started."
|
echo "initramfs emergency recovery shell launched"
|
||||||
exec /bin/busybox sh
|
exec /bin/busybox sh
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@ -111,7 +111,7 @@ scan_drivers
|
|||||||
eend 0
|
eend 0
|
||||||
|
|
||||||
# install new root
|
# install new root
|
||||||
ebegin "Installing packets to root filesystem"
|
ebegin "Installing packages to root filesystem"
|
||||||
mount -t tmpfs -o size=50M tmpfs $NEWROOT
|
mount -t tmpfs -o size=50M tmpfs $NEWROOT
|
||||||
apk create --root /newroot
|
apk create --root /newroot
|
||||||
apk add --root /newroot --repository /media/cdrom/apks --quiet --progress
|
apk add --root /newroot --repository /media/cdrom/apks --quiet --progress
|
||||||
|
Loading…
Reference in New Issue
Block a user