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:
Rick Farina (Zero_Chaos) 2018-06-08 10:59:16 -04:00
parent 8787f3d35c
commit 82dffceb52
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A
2 changed files with 2 additions and 6 deletions

View file

@ -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

View file

@ -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