Some permissions issues with installs fixed
This commit is contained in:
parent
0ca9e2958f
commit
d8c7bda04d
2 changed files with 4 additions and 3 deletions
|
@ -98,8 +98,8 @@ hdboot)
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Install the new image.
|
# Install the new image.
|
||||||
echo "cp image $root:/boot/image/$target"
|
echo "install image $root:/boot/image/$target"
|
||||||
cp -p image $rootdir/boot/image/$target || exit
|
install -o root -m 600 image $rootdir/boot/image/$target || exit
|
||||||
|
|
||||||
# Save the revision number.
|
# Save the revision number.
|
||||||
test "$revision" != "$oldrev" && echo $revision >revision
|
test "$revision" != "$oldrev" && echo $revision >revision
|
||||||
|
|
|
@ -45,7 +45,8 @@ mkdir -p $RELEASEDIR
|
||||||
mkfs -b 1440 -B 1024 $RAM || exit
|
mkfs -b 1440 -B 1024 $RAM || exit
|
||||||
echo " * mounting $RAM as $RELEASEDIR"
|
echo " * mounting $RAM as $RELEASEDIR"
|
||||||
mount $RAM $RELEASEDIR || exit
|
mount $RAM $RELEASEDIR || exit
|
||||||
mkdir $RELEASEDIR/usr $RELEASEDIR/tmp
|
mkdir -m 755 $RELEASEDIR/usr
|
||||||
|
mkdir -m 1777 $RELEASEDIR/tmp
|
||||||
mount $TMPTMPDISK $RELEASEDIR/tmp || exit 1
|
mount $TMPTMPDISK $RELEASEDIR/tmp || exit 1
|
||||||
|
|
||||||
mkfs -B 1024 $TMPDISK
|
mkfs -B 1024 $TMPDISK
|
||||||
|
|
Loading…
Reference in a new issue