rootfsinstall: fix a problem with popd avoiding to use it
This commit is contained in:
parent
b71186b4fb
commit
1c8cdbb131
@ -180,7 +180,7 @@ framebuffer_ignore_alpha=1" > $BOOTMP/config.txt
|
||||
|
||||
fi # rpimode
|
||||
|
||||
pushd $ROOTMP >/dev/null || {
|
||||
(cd $ROOTMP >/dev/null || {
|
||||
echo "ERROR: unable to access system partition mount point; aborting."
|
||||
umount $PARTITION2
|
||||
rmdir $ROOTMP
|
||||
@ -190,7 +190,7 @@ pushd $ROOTMP >/dev/null || {
|
||||
echo "Uncompressing $ROOTFSARCHIVE..."
|
||||
echo "This can take a while, please wait..."
|
||||
tar xf $ROOTFSARCHIVE
|
||||
popd >/dev/null
|
||||
)
|
||||
|
||||
sync
|
||||
umount $PARTITION2
|
||||
|
Loading…
Reference in New Issue
Block a user