Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-05-29 11:25:28 +0200
committerAnton Hvornum <anton@hvornum.se>2022-05-29 11:25:28 +0200
commit7dbea73514b35cbaa18c156895bf6f416b2345ca (patch)
tree3f403553de46f7849253e4ce16ca5768244bb4f8
parent51714587962570c71fc2dd70de526a5172ad5b5c (diff)
Cleanup and version changes in prep for release
-rw-r--r--PKGBUILD2
-rw-r--r--archinstall/lib/disk/partition.py10
2 files changed, 1 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5821bee8..d8e89ae2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: demostanis worlds <demostanis@protonmail.com>
pkgname=archinstall
-pkgver=2.4.3rc1
+pkgver=2.5.0
#pkgver=$(git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
pkgrel=1
pkgdesc="Just another guided/automated Arch Linux installer with a twist"
diff --git a/archinstall/lib/disk/partition.py b/archinstall/lib/disk/partition.py
index 151775b1..2c9f50c2 100644
--- a/archinstall/lib/disk/partition.py
+++ b/archinstall/lib/disk/partition.py
@@ -160,16 +160,6 @@ class Partition:
def boot(self) -> bool:
output = json.loads(SysCommand(f"sfdisk --json {self.block_device.path}").decode('UTF-8'))
- # Get the bootable flag from the sfdisk output:
- # {
- # "partitiontable": {
- # "device":"/dev/loop0",
- # "partitions": [
- # {"node":"/dev/loop0p1", "start":2048, "size":10483712, "type":"83", "bootable":true}
- # ]
- # }
- # }
-
for partition in output.get('partitiontable', {}).get('partitions', []):
if partition['node'] == self.path:
# first condition is for MBR disks, second for GPT disks