minor change
This commit is contained in:
parent
3810377961
commit
9a9814f2db
@ -1,4 +1,4 @@
|
|||||||
pikainstall (1.1.2-100pika1) pikauwu; urgency=medium
|
pikainstall (1.1.3-100pika1) pikauwu; urgency=medium
|
||||||
|
|
||||||
* Initial release.
|
* Initial release.
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import subprocess
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
# Version
|
# Version
|
||||||
version="1.1.2"
|
version="1.1.3"
|
||||||
dist="PikaOS 3"
|
dist="PikaOS 3"
|
||||||
image="/cdrom/casper/filesystem.squashfs"
|
image="/cdrom/casper/filesystem.squashfs"
|
||||||
|
|
||||||
@ -157,19 +157,19 @@ elif root_uuid != home_uuid:
|
|||||||
# With All Checks Clear and info gathered let's start installing
|
# With All Checks Clear and info gathered let's start installing
|
||||||
|
|
||||||
## extract the squashfs image to root from casper
|
## extract the squashfs image to root from casper
|
||||||
|
subprocess.run(['touch', '/tmp/pika-installer-gtk4-status-image.txt'])
|
||||||
squashfs_cmd = ['unsquashfs', '-f', '-d', CHROOT_PATH, image]
|
squashfs_cmd = ['unsquashfs', '-f', '-d', CHROOT_PATH, image]
|
||||||
subprocess.run(squashfs_cmd)
|
subprocess.run(squashfs_cmd)
|
||||||
subprocess.run(['touch', '/tmp/pika-installer-gtk4-status-image.txt'])
|
|
||||||
|
|
||||||
## Enable bls_boot on boot partiton
|
## Enable bls_boot on boot partiton
|
||||||
|
subprocess.run(['touch', '/tmp/pika-installer-gtk4-status-flag1.txt'])
|
||||||
boot_flag_cmd = ['/usr/lib/pika/pikainstall/partition-helper.sh', 'flag', CHROOT_PATH, '/boot', 'bls_boot', 'on']
|
boot_flag_cmd = ['/usr/lib/pika/pikainstall/partition-helper.sh', 'flag', CHROOT_PATH, '/boot', 'bls_boot', 'on']
|
||||||
subprocess.run(boot_flag_cmd)
|
subprocess.run(boot_flag_cmd)
|
||||||
subprocess.run(['touch', '/tmp/pika-installer-gtk4-status-flag1.txt'])
|
|
||||||
|
|
||||||
## Enable esp on EFI partiton
|
## Enable esp on EFI partiton
|
||||||
|
subprocess.run(['touch', '/tmp/pika-installer-gtk4-status-flag2.txt'])
|
||||||
efi_flag_cmd = ['/usr/lib/pika/pikainstall/partition-helper.sh', 'flag', CHROOT_PATH, '/boot/efi', 'esp', 'on']
|
efi_flag_cmd = ['/usr/lib/pika/pikainstall/partition-helper.sh', 'flag', CHROOT_PATH, '/boot/efi', 'esp', 'on']
|
||||||
subprocess.run(efi_flag_cmd)
|
subprocess.run(efi_flag_cmd)
|
||||||
subprocess.run(['touch', '/tmp/pika-installer-gtk4-status-flag2.txt'])
|
|
||||||
|
|
||||||
# Write crypttab script if system has encryption
|
# Write crypttab script if system has encryption
|
||||||
if root_part_encrypt != "luks_none":
|
if root_part_encrypt != "luks_none":
|
||||||
|
Loading…
Reference in New Issue
Block a user