]>
git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/scripts/make-packages.sh
2 ########################################################
6 ## (c) www.ipfire.org - GPL v2 ##
8 ########################################################
9 echo "`date -u '+%b %e %T'`: Packing $1" |
tee -a $LOGFILE
10 cd / && mkdir
-p /paks
/$1
12 ## Copy install.sh/uninstall.sh to pak-dir and make executeable
14 cp -f /usr
/src
/src
/paks
/$1/{,un
}install.sh
/paks
/$1
15 chmod 755 /paks
/$1/{,un
}install.sh
17 tar cvfz
/paks
/$1/files.tgz
--files=/usr
/src
/src
/paks
/$1/ROOTFILES
--exclude='#*'
19 tar cvfz
/paks
/$1/conf.tgz
--files=/usr
/src
/src
/paks
/$1/CONFFILES
--exclude='#*'
21 cd /paks
/$1 && tar cvfz ..
/$2.
tar.gz files.tgz conf.tgz
install.sh uninstall.sh
22 cd ..
&& md5sum $2.
tar.gz
>> $2.
tar.gz.md5