Compare commits
4 commits
1c05d0fb38
...
39616337c3
Author | SHA1 | Date | |
---|---|---|---|
|
39616337c3 | ||
|
e9ddac26dd | ||
|
85dbad5f85 | ||
|
a030f9147a |
2 changed files with 4 additions and 4 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -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() {
|
||||||
|
|
|
@ -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')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue