index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-09-18 15:52:29 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-09-18 15:52:29 +0200 |
commit | ed823be3bae2151a73ba9817a32c226ac5a3c1c0 (patch) | |
tree | b947300c920369024447939c9cd5fbe688eb2c88 /archinstall/lib/disk2 | |
parent | 68212dd32cf10e263456ae69cead762731667775 (diff) |
-rw-r--r-- | archinstall/lib/disk2/btrfs.py | 11 |
diff --git a/archinstall/lib/disk2/btrfs.py b/archinstall/lib/disk2/btrfs.py index 549d23c1..d6758b3f 100644 --- a/archinstall/lib/disk2/btrfs.py +++ b/archinstall/lib/disk2/btrfs.py @@ -1,9 +1,4 @@ -def create_subvolume(partition): - if partition['mountpoint'] == '/': - partition['filesystem']['subvolume'] = '@' - elif partition['mountpoint'] == '/home': - partition['filesystem']['subvolume'] = '@home' +from ..general import SysCommand - # @.snapshots /.snapshots - # @log /var/log - # @pkg /var/cache/pacman/pkg
\ No newline at end of file +def create_subvolume(installation): + SysCommand(f"btrfs subvolume create {installation.target}/@")
\ No newline at end of file |