RR: Fix swap being inproperly mounted
This commit is contained in:
parent
9e80f3c29f
commit
96a1a2a9b2
@ -39,18 +39,18 @@ for drivemount in /tmp/pika-installer-gtk4-target-manual-p*.json; do
|
||||
PARTITION="/dev/$(jq -r .partition $drivemount)"
|
||||
MOUNTPOINT="/media/pika-install-mount/$(jq -r .mountpoint $drivemount)"
|
||||
MOUNTOPT=$(jq -r .mountopt $drivemount)
|
||||
if [[ -z $MOUNTOPT ]]
|
||||
if [[ $MOUNTPOINT = '/media/pika-install-mount/[SWAP]' ]]
|
||||
then
|
||||
touch /tmp/pika-installer-gtk4-swaplist
|
||||
echo $PARTITION > /tmp/pika-installer-gtk4-swaplist
|
||||
elif [[ -z $MOUNTOPT ]]
|
||||
then
|
||||
mkdir -p $MOUNTPOINT
|
||||
mount $PARTITION $MOUNTPOINT
|
||||
elif [[ $MOUNTPOINT == "[SWAP]" ]]
|
||||
then
|
||||
touch /tmp/pika-installer-gtk4-swaplist
|
||||
echo $PARTITION > /tmp/pika-installer-gtk4-swaplist
|
||||
else
|
||||
mkdir -p $MOUNTPOINT
|
||||
mount -o $MOUNTOPT $PARTITION $MOUNTPOINT
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ! -f "/tmp/pika-installer-gtk4-crypttab" ]]
|
||||
|
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
||||
pika-installer-gtk4 (1.0.0-100pika11) pikauwu; urgency=low
|
||||
pika-installer-gtk4 (1.0.0-100pika12) pikauwu; urgency=low
|
||||
|
||||
* First release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user