mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
change comments
This commit is contained in:
parent
5e36a33732
commit
5d017e9242
1 changed files with 1 additions and 1 deletions
|
@ -65,6 +65,7 @@ _task() {
|
||||||
echo "zstd" >/sys/block/zram0/comp_algorithm
|
echo "zstd" >/sys/block/zram0/comp_algorithm
|
||||||
echo "5G" >/sys/block/zram0/disksize
|
echo "5G" >/sys/block/zram0/disksize
|
||||||
mkfs.btrfs /dev/zram0 &>/dev/null
|
mkfs.btrfs /dev/zram0 &>/dev/null
|
||||||
|
# use discard to get immediate remove of files
|
||||||
mount -o discard /dev/zram0 /sysroot
|
mount -o discard /dev/zram0 /sysroot
|
||||||
fi
|
fi
|
||||||
if [[ "${1}" == system ]]; then
|
if [[ "${1}" == system ]]; then
|
||||||
|
@ -105,7 +106,6 @@ _sysroot_stage() {
|
||||||
_task system &
|
_task system &
|
||||||
_progress_wait "0" "95" "${_KEEP} Copying rootfs to /sysroot..." "0.5"
|
_progress_wait "0" "95" "${_KEEP} Copying rootfs to /sysroot..." "0.5"
|
||||||
: >/.archboot
|
: >/.archboot
|
||||||
# unmount everything after copying
|
|
||||||
_task unmount &
|
_task unmount &
|
||||||
_progress_wait "96" "99" "${_KEEP} Unmounting rootfs..." "1"
|
_progress_wait "96" "99" "${_KEEP} Unmounting rootfs..." "1"
|
||||||
_progress "100" "The boot medium can be safely removed now."
|
_progress "100" "The boot medium can be safely removed now."
|
||||||
|
|
Loading…
Reference in a new issue