Merge branch 'multilib' into 'main'

feat: enable multilib by default and add README

See merge request blendOS/system-tools/akshara!4
This commit is contained in:
Rudra Saraswat 2024-09-05 04:10:59 +00:00
commit ac44379453
2 changed files with 16 additions and 0 deletions

15
README.md Normal file
View file

@ -0,0 +1,15 @@
# akshara
A simple system builder and immutability layer.
## Development
To test a modified copy of `akshara`, run the following on a working blendOS install:
```sh
umount -l /usr && sudo mv ./akshara /usr/bin/akshara && sudo chmod +x /usr/bin/akshara
```
Replace `./akshara` with wherever your modified copy of `akshara` is.
**ANY CHANGES TO `/usr/bin/akshara` WILL BE REVERTED AFTER EVERY UPDATE!**

View file

@ -260,6 +260,7 @@ def update_system():
with open('/.new_rootfs/etc/pacman.conf', 'r') as original: data = original.read()
with open('/.new_rootfs/etc/pacman.conf', 'w') as modified: modified.write(data.replace("[options]", "[options]\nParallelDownloads = 32\n"))
with open('/.new_rootfs/etc/pacman.conf', 'w') as modified: modified.write(data.replace("#[multilib]\n#Include = /etc/pacman.d/mirrorlist", "[multilib]\nInclude = /etc/pacman.d/mirrorlist"))
with open('/.new_rootfs/etc/pacman.conf', 'a') as pacman_conf:
pacman_conf.write(f'''