opti for arm

This commit is contained in:
Hugo Poissonnet 2020-10-24 14:49:27 +02:00
parent 432fe563c3
commit f9ca0cd9d2
2 changed files with 9 additions and 5 deletions

View File

@ -8,13 +8,17 @@
/var/lib/dpkg/* /var/lib/dpkg/*
/var/run/* /var/run/*
/var/cache/* /var/cache/*
/var/log*
/boot/* /boot/*
/usr/lib/modules/* /usr/lib/modules/*
/usr/lib/python* /usr/lib/python*
/usr/lib/*-linux-gnu/perl* /usr/lib/*-linux-*/perl*
/usr/share/GeoIP* /usr/share/GeoIP*
/usr/share/man* /usr/share/man*
/usr/share/i18n* /usr/share/i18n*
/usr/share/perl* /usr/share/perl*
/usr/share/doc* /usr/share/doc*
/usr/share/locale* /usr/share/locale*
/usr/include*
/usr/lib/firmware*
/usr/lib/gcc*

View File

@ -1,13 +1,13 @@
#!/bin/sh #!/bin/sh
sudo modprobe zram num_devices=4 sudo modprobe zram num_devices=4
echo 1G | sudo tee /sys/block/zram0/disksize echo 500M | sudo tee /sys/block/zram2/disksize
sudo mkfs.ext4 -m0 /dev/zram0 sudo mkfs.ext4 -m0 /dev/zram2
mkdir /tmp/sys mkdir /tmp/sys
sudo mount /dev/zram0 /tmp/sys sudo mount /dev/zram2 /tmp/sys
sudo tar -cpSf - \ sudo tar -cpSf - \
--acls --xattrs --selinux \ --acls --xattrs --selinux \
--exclude-from /vagrant/exclude.list \ --exclude-from ./exclude.list \
/ | / |
sudo tar -xvf - \ sudo tar -xvf - \
--acls --xattrs --selinux \ --acls --xattrs --selinux \