wtf
This commit is contained in:
parent
da5921a312
commit
5e1db17c19
@ -1,4 +1,4 @@
|
||||
pikainstall (1.0.5-100pika1) pikauwu; urgency=medium
|
||||
pikainstall (1.0.5-100pika2) pikauwu; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
#! /bin/bash
|
||||
mkdir -pv "$1"/media/cdrom
|
||||
mount --bind /cdrom "$1"/media/cdrom
|
||||
mount --rbind /dev "$1"/dev
|
||||
mount --rbind /dev/pts "$1"/dev/pts
|
||||
mount --rbind /proc "$1"/proc
|
||||
mount --rbind /sys "$1"/sys
|
||||
mount --rbind /run "$1"/run
|
||||
rm -rfv "$1"/boot/*arch*
|
||||
mkdir -p "$1"/var/cache/apt/archives
|
||||
cp -rvf /cdrom/pool/main/* "$1"/var/cache/apt/archives/
|
||||
genfstab -U "$1" > "$1"/etc/fstab
|
||||
cat "$1"/etc/fstab | grep -v zram > "$1"/etc/fstab
|
||||
chroot "$1" /bin/bash -c "su - -c /usr/lib/pika/pikainstall/pika-install-chroot.sh"
|
||||
mkdir -pv "$1"/media/cdrom
|
||||
mount --bind /cdrom "$1"/media/cdrom
|
||||
mount --rbind /dev "$1"/dev
|
||||
mount --rbind /dev/pts "$1"/dev/pts
|
||||
mount --rbind /proc "$1"/proc
|
||||
mount --rbind /sys "$1"/sys
|
||||
mount --rbind /run "$1"/run
|
||||
rm -rfv "$1"/boot/*arch*
|
||||
mkdir -p "$1"/var/cache/apt/archives
|
||||
cp -rvf /cdrom/pool/main/* "$1"/var/cache/apt/archives/
|
||||
genfstab -U "$1" > "$1"/etc/fstab
|
||||
cat "$1"/etc/fstab | grep -v zram > "$1"/etc/fstab
|
||||
chroot "$1" /bin/bash -c "su - -c /usr/lib/pika/pikainstall/pika-install-chroot.sh"
|
||||
|
@ -78,7 +78,7 @@ else:
|
||||
## Boot UUID
|
||||
boot_uuid_command= subprocess.Popen(['/usr/lib/pika/pikainstall/partition-helper.sh', 'uuid'] + args.boot, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
## Print Boot
|
||||
boot_uuid = boot_uuid_command.stdout.readline().d rm -rfv "$1"/boot/*arch*ecode("utf-8").strip()
|
||||
boot_uuid = boot_uuid_command.stdout.readline().decode("utf-8").strip()
|
||||
print("\nBoot UUID: {}".format(boot_uuid))
|
||||
# Get EFI info
|
||||
## EFI UUID
|
||||
|
Loading…
Reference in New Issue
Block a user