*** empty log message ***
This commit is contained in:
parent
040cebcefe
commit
28087e3f17
5 changed files with 29 additions and 2 deletions
|
@ -42,6 +42,7 @@ usr: \
|
|||
/usr/bin/binsizes \
|
||||
/usr/bin/rotate \
|
||||
/usr/bin/floppysetup \
|
||||
/usr/bin/packme \
|
||||
/usr/bin/spell \
|
||||
/usr/bin/srccrc \
|
||||
/usr/bin/svclog \
|
||||
|
@ -137,6 +138,9 @@ clean:
|
|||
/usr/bin/binsizes: binsizes.sh
|
||||
install -m 755 -c -o bin $? $@
|
||||
|
||||
/usr/bin/packme: packme.sh
|
||||
install -m 755 -c -o bin $? $@
|
||||
|
||||
/usr/bin/spell: spell.sh
|
||||
install -m 755 -c -o bin $? $@
|
||||
|
||||
|
|
22
commands/scripts/packme.sh
Normal file
22
commands/scripts/packme.sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
RC=/usr/etc/rc.package
|
||||
CDDIR=PACKAGES
|
||||
|
||||
if [ -f "$RC" ]
|
||||
then . "$RC"
|
||||
fi
|
||||
|
||||
cd /
|
||||
|
||||
if [ -n "$cddrive" ]
|
||||
then isodir "$cddrive" $CDDIR | grep -i tbz | while read package
|
||||
do echo -n "Install $package (y/n) ? "
|
||||
read y
|
||||
if [ "$y" = y ]
|
||||
then isoread "$cddrive" $CDDIR/$package | bzip2 -d | pax -r -p e '*' / || echo "Extract failed."
|
||||
fi
|
||||
done
|
||||
fi
|
|
@ -618,7 +618,7 @@ edparams /dev/$root "rootdev=$root; ramimagedev=$root; $disable; minix(1,Start M
|
|||
pfile="/mnt/src/tools/fdbootparams"
|
||||
echo "rootdev=$root; ramimagedev=$root; $disable; save" >$pfile
|
||||
# Save name of CD drive
|
||||
echo "cddrive=`mount | grep usr | awk '{ print $1 }'`" >>/mnt/etc/rc.package
|
||||
echo "cddrive=`mount | grep usr | awk '{ print $1 }' | sed 's/p.*//'`" >>/mnt/etc/rc.package
|
||||
|
||||
sync
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
755 bin operator /usr/local/man/man7
|
||||
755 bin operator /usr/local/man/man8
|
||||
755 bin operator /usr/local/man/man9
|
||||
775 bin operator /usr/local/packages
|
||||
775 bin operator /usr/local/src
|
||||
755 bin operator /usr/man
|
||||
755 bin operator /usr/man/man1
|
||||
|
|
|
@ -260,7 +260,7 @@ sh mkboot cdfdboot
|
|||
cp $IMAGE $CDFILES/bootflop.img
|
||||
cp release/cd/* $CDFILES
|
||||
|
||||
DESTPACKAGES=`pwd`/release/cd/Packages
|
||||
DESTPACKAGES=`pwd`/release/cd/PACKAGES
|
||||
rm -rf $DESTPACKAGES
|
||||
mkdir $DESTPACKAGES
|
||||
|
||||
|
|
Loading…
Reference in a new issue