summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index a1a135f..864a1d5 100755
--- a/install.sh
+++ b/install.sh
@@ -32,7 +32,7 @@ setup_btrfs () {
mkfs.btrfs -f -L GENTOO $DEVICE
mkdir /mnt/install
- mount $DEVICE /mnt/install
+ mount -o compress=lzo $DEVICE /mnt/install
btrfs subvolume create /mnt/install/@
btrfs subvolume create /mnt/install/@/.snapshots
@@ -62,7 +62,7 @@ setup_btrfs () {
btrfs subvolume set-default $(btrfs subvolume list /mnt/install | grep "@/.snapshots/1/snapshot" | grep -oP '(?<=ID )[0-9]+') /mnt/install
umount /mnt/install
- mount $DEVICE /mnt/install
+ mount -o compress=lzo $DEVICE /mnt/install
# ls /mnt/install should respond with empty result