Compare commits

..

4 commits

Author SHA1 Message Date
askiiart
39616337c3
Add arch-repo so it works with askiiart-blendos/akshara
for details, see line 146 at commit ed115df979
2024-11-07 23:37:38 -06:00
askiiart
e9ddac26dd
fix -F -> -f for mkfs.btrfs 2024-10-07 19:04:20 -05:00
askiiart
85dbad5f85
switch to my version 2024-10-01 22:40:25 -05:00
askiiart
a030f9147a
switch default to btrfs, switch to consistent units, fix wasted space on EFI systems 2024-10-01 11:54:01 -05:00
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ arch=(any)
depends=('squashfs-tools' 'arch-install-scripts' 'util-linux' 'parted') depends=('squashfs-tools' 'arch-install-scripts' 'util-linux' 'parted')
provides=('blend-inst') provides=('blend-inst')
conflicts=('blend-inst') conflicts=('blend-inst')
source=('git-inst::git+https://github.com/blend-os/blend-inst.git') source=('git-inst::git+https://git.askiiart.net/askiiart-blendos/blend-inst.git')
sha256sums=('SKIP') sha256sums=('SKIP')
pkgver() { pkgver() {

View file

@ -159,7 +159,7 @@ def inst_partition(config):
# Create root partition # Create root partition
exec(['parted', '-s', device, 'mkpart', exec(['parted', '-s', device, 'mkpart',
'primary', 'ext4', '513MiB', '100%']) 'primary', 'btrfs', '513MiB', '100%'])
global orig_main_partition global orig_main_partition
@ -176,7 +176,7 @@ def inst_partition(config):
exec(['cryptsetup', 'open', root_partition, 'new_root', '-'], input=f'{password}\n') exec(['cryptsetup', 'open', root_partition, 'new_root', '-'], input=f'{password}\n')
root_partition = '/dev/mapper/new_root' root_partition = '/dev/mapper/new_root'
# Format root partition # Format root partition
exec(['mkfs.ext4', '-F', root_partition]) exec(['mkfs.btrfs', '-f', root_partition])
# Mount partitions # Mount partitions
mount(root_partition, '/mnt') mount(root_partition, '/mnt')
mkdir('/mnt/boot') mkdir('/mnt/boot')
@ -194,7 +194,7 @@ def inst_partition(config):
exec(['cryptsetup', 'open', root_partition, 'new_root', '-'], input=f'{password}\n') exec(['cryptsetup', 'open', root_partition, 'new_root', '-'], input=f'{password}\n')
root_partition = '/dev/mapper/new_root' root_partition = '/dev/mapper/new_root'
# Format root partition # Format root partition
exec(['mkfs.ext4', '-F', root_partition]) exec(['mkfs.btrfs', '-f', root_partition])
# Mount partitions # Mount partitions
mount(root_partition, '/mnt') mount(root_partition, '/mnt')
mkdir('/mnt/boot') mkdir('/mnt/boot')