RR: Fix swap being inproperly mounted
This commit is contained in:
parent
9e80f3c29f
commit
96a1a2a9b2
@ -39,14 +39,14 @@ for drivemount in /tmp/pika-installer-gtk4-target-manual-p*.json; do
|
|||||||
PARTITION="/dev/$(jq -r .partition $drivemount)"
|
PARTITION="/dev/$(jq -r .partition $drivemount)"
|
||||||
MOUNTPOINT="/media/pika-install-mount/$(jq -r .mountpoint $drivemount)"
|
MOUNTPOINT="/media/pika-install-mount/$(jq -r .mountpoint $drivemount)"
|
||||||
MOUNTOPT=$(jq -r .mountopt $drivemount)
|
MOUNTOPT=$(jq -r .mountopt $drivemount)
|
||||||
if [[ -z $MOUNTOPT ]]
|
if [[ $MOUNTPOINT = '/media/pika-install-mount/[SWAP]' ]]
|
||||||
then
|
|
||||||
mkdir -p $MOUNTPOINT
|
|
||||||
mount $PARTITION $MOUNTPOINT
|
|
||||||
elif [[ $MOUNTPOINT == "[SWAP]" ]]
|
|
||||||
then
|
then
|
||||||
touch /tmp/pika-installer-gtk4-swaplist
|
touch /tmp/pika-installer-gtk4-swaplist
|
||||||
echo $PARTITION > /tmp/pika-installer-gtk4-swaplist
|
echo $PARTITION > /tmp/pika-installer-gtk4-swaplist
|
||||||
|
elif [[ -z $MOUNTOPT ]]
|
||||||
|
then
|
||||||
|
mkdir -p $MOUNTPOINT
|
||||||
|
mount $PARTITION $MOUNTPOINT
|
||||||
else
|
else
|
||||||
mkdir -p $MOUNTPOINT
|
mkdir -p $MOUNTPOINT
|
||||||
mount -o $MOUNTOPT $PARTITION $MOUNTPOINT
|
mount -o $MOUNTOPT $PARTITION $MOUNTPOINT
|
||||||
|
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
|
* First release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user