mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-28 01:31:04 +02:00
pentoo-system: mkswap slowdown appeared to be a passing failure, likely more related to weird memory pressure than anything else
This commit is contained in:
parent
8787f3d35c
commit
82dffceb52
2 changed files with 2 additions and 6 deletions
|
|
@ -15,11 +15,7 @@ start() {
|
|||
echo lz4 >/sys/devices/virtual/block/zram0/comp_algorithm || RETVAL=$?
|
||||
echo "${ZRAM_ABSOLUTE/\.??/}" > /sys/devices/virtual/block/zram0/disksize || RETVAL=$?
|
||||
eindent
|
||||
if [ -d /sys/firmware/efi ]; then
|
||||
ebegin "Formatting swap"
|
||||
else
|
||||
ebegin "Formatting swap (this is much faster if you boot uefi)"
|
||||
fi
|
||||
ebegin "Formatting swap"
|
||||
mkswap /dev/zram0 > /dev/null || RETVAL=$?
|
||||
eend ${RETVAL}
|
||||
eoutdent
|
||||
|
|
@ -189,7 +189,7 @@ src_install() {
|
|||
|
||||
newinitd "${FILESDIR}"/pentoo-linux-symlinks.initd pentoo-linux-symlinks
|
||||
newinitd "${FILESDIR}"/pentoo-powersave.initd pentoo-powersave
|
||||
newinitd "${FILESDIR}"/pentoo-zram.initd-r1 pentoo-zram
|
||||
newinitd "${FILESDIR}"/pentoo-zram.initd-r2 pentoo-zram
|
||||
newconfd "${FILESDIR}"/pentoo-zram.confd pentoo-zram
|
||||
|
||||
dosym /var/lib/layman/pentoo/scripts/pentoo-updater.sh /usr/sbin/pentoo-updater
|
||||
Loading…
Reference in a new issue