Begin condensing stuff
This commit is contained in:
parent
5b96f7cfd5
commit
145f267263
|
|
@ -12,14 +12,39 @@ SRC=$MINIX/../newsrc
|
||||||
export MINIX N2M NETBSD SRC
|
export MINIX N2M NETBSD SRC
|
||||||
|
|
||||||
echo "Setup NetBSD"
|
echo "Setup NetBSD"
|
||||||
$N2M/setupnetbsd.sh
|
cd $NETBSD || (git clone --depth 1 git://github.com/jsonn/src $NETBSD && cd $NETBSD)
|
||||||
|
git pull
|
||||||
|
|
||||||
echo "Clear new src tree"
|
echo "Clear new src tree"
|
||||||
mkdir -p $SRC
|
mkdir -p $SRC
|
||||||
rm -rf $SRC/*
|
rm -rf $SRC/*
|
||||||
|
|
||||||
echo "Apply whitelists"
|
echo "Apply whitelists"
|
||||||
$N2M/whitelists.sh
|
|
||||||
|
cd $N2M/whitelist
|
||||||
|
for item in `ls`
|
||||||
|
do
|
||||||
|
$N2M/applywhitelist.sh $NETBSD/$item $item < $item
|
||||||
|
echo "$item moved"
|
||||||
|
done
|
||||||
|
|
||||||
|
$N2M/applywhitelist.sh $MINIX . < $N2M/minix.txt
|
||||||
|
|
||||||
echo "Apply special-cases"
|
echo "Apply special-cases"
|
||||||
$N2M/special.sh
|
|
||||||
|
cd $MINIX
|
||||||
|
|
||||||
|
for dir in "external bin games gnu libexec sbin tools usr.bin usr.sbin"
|
||||||
|
do
|
||||||
|
cp -f $MINIX/$dir/Makefile $SRC/$dir
|
||||||
|
done
|
||||||
|
|
||||||
|
cp -r $MINIX/include/cdbr.h $SRC/include/cdbr.h
|
||||||
|
cp -r $MINIX/share/zoneinfo $SRC/share/zoneinfo
|
||||||
|
cp -r $MINIX/tools/llvm-librt $SRC/tools/llvm-librt
|
||||||
|
cp -r $MINIX/tools/mkfs.mfs $SRC/tools/mkfs.mfs
|
||||||
|
cp -r $MINIX/tools/mkproto $SRC/tools/mkproto
|
||||||
|
cp -r $MINIX/tools/partition $SRC/tools/partition
|
||||||
|
cp -r $MINIX/tools/toproto $SRC/tools/toproto
|
||||||
|
cp -r $MINIX/tools/writeisofs $SRC/tools/writeisofs
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
cd $NETBSD || (git clone --depth 1 git://github.com/jsonn/src $NETBSD && cd $NETBSD)
|
|
||||||
git pull
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
# Manually-copied files
|
|
||||||
|
|
||||||
for dir in "external bin games gnu libexec sbin usr.bin usr.sbin"
|
|
||||||
do
|
|
||||||
cp -f $MINIX/$dir/Makefile $SRC/$dir
|
|
||||||
done
|
|
||||||
|
|
||||||
cp -r $MINIX/include/cdbr.h $SRC/include
|
|
||||||
cp -r $MINIX/share/zoneinfo $SRC/share
|
|
||||||
cp -r $MINIX/tools/llvm-librt $SRC/tools
|
|
||||||
cp -r $MINIX/tools/mkfs.mfs $SRC/tools
|
|
||||||
cp -r $MINIX/tools/mkproto $SRC/tools
|
|
||||||
cp -r $MINIX/tools/partition $SRC/tools
|
|
||||||
cp -r $MINIX/tools/toproto $SRC/tools
|
|
||||||
cp -r $MINIX/tools/writeisofs $SRC/tools
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
cd $N2M/whitelist
|
|
||||||
for item in `ls`
|
|
||||||
do
|
|
||||||
$N2M/applywhitelist.sh $NETBSD/$item $item < $item
|
|
||||||
echo "$item moved"
|
|
||||||
done
|
|
||||||
|
|
||||||
$N2M/applywhitelist.sh $MINIX . < $N2M/minix.txt
|
|
||||||
|
|
||||||
cd $MINIX
|
|
||||||
Loading…
Reference in New Issue
Block a user