remaster/gendeb.sh

26 lines
421 B
Bash
Raw Normal View History

2018-04-26 11:23:51 +00:00
#!/bin/bash
# at the moment only generate dir structure in /build
2018-04-26 17:46:17 +00:00
# setup build dir
rootfs=build
2018-04-26 11:23:51 +00:00
echo "clear build"
2018-04-26 17:46:17 +00:00
[ -d $rootfs ] && rm -v -R $rootfs
mkdir $rootfs
2018-04-26 11:23:51 +00:00
echo "copy files"
## skripte copieren
2018-04-26 17:46:17 +00:00
# remaster
mkdir -p $rootfs/usr/bin/
cp -v src/remaster.sh $rootfs/usr/bin/remaster
chmod +x $rootfs/usr/bin/remaster
# modules
mkdir -p $rootfs/usr/lib/remaster/
#...
2018-04-26 11:23:51 +00:00
# Pfade anpassen
#sed ...
#mkdeb...
#not jet