Compare commits

...

4 commits

Author SHA1 Message Date
Asterisk
1c05d0fb38
Merge pull request from askiiart/add-arch-repo-for-akshara
Adds arch-repo to system conig
2025-04-08 22:37:31 -04:00
askiiart
703dc28274
add arch-repo to system_config
this makes it work for blend-inst pull  and akshara pull 
2025-04-08 21:20:37 -05:00
Asterisk
3e8f83950d
Merge pull request from askiiart/fix-1gb-empty-block
fix ~1 GiB of wasted space partitioning
2025-04-08 19:49:50 -04:00
askiiart
cf1b6b5443
fix ~1 GiB of wasted space partitioning 2025-04-08 15:01:23 -05:00
2 changed files with 5 additions and 3 deletions

7
blend-inst Executable file → Normal file
View file

@ -149,17 +149,17 @@ def inst_partition(config):
# Create GPT label
exec(['parted', '-s', device, 'mklabel', 'gpt'])
# Create EFI partition
exec(['parted', '-s', device, 'mkpart', 'fat32', '0', '500'])
exec(['parted', '-s', device, 'mkpart', 'fat32', '0%', '512MiB'])
else:
# Create msdos label
exec(['parted', '-s', device, 'mklabel', 'msdos'])
# Create boot partition
exec(['parted', '-s', device, 'mkpart',
'primary', 'ext4', '1MIB', '1400MIB'])
'primary', 'ext4', '0%', '512MiB'])
# Create root partition
exec(['parted', '-s', device, 'mkpart',
'primary', 'ext4', '1500MB', '100%'])
'primary', 'ext4', '513MiB', '100%'])
global orig_main_partition
@ -351,6 +351,7 @@ def inst_akshara(config):
['locale-gen'])
system_config = {
'arch-repo': 'https://geo.mirror.pkgbuild.com',
'repo': 'https://pkg-repo.blendos.co',
'impl': 'http://github.com/blend-os/tracks/raw/main',
'track': 'default-gnome'

1
blend-postinst Executable file → Normal file
View file

@ -61,6 +61,7 @@ def mkdir(path):
def inst_system_config(config):
system_config = {
'arch-repo': 'https://geo.mirror.pkgbuild.com',
'repo': 'https://pkg-repo.blendos.co',
'impl': 'http://github.com/blend-os/tracks/raw/main',
'track': 'default-gnome'