use generic file name to store compilation instruction

Add GLPI (with github clone to patch install)
This commit is contained in:
thomas 2022-03-06 00:37:44 +01:00
parent 38ded86d9f
commit 853e9f431b
28 changed files with 170 additions and 50 deletions

View file

@ -1,8 +1,7 @@
#!/bin/bash
if [ ! "$1" == "" ];
then
source /tmp/src/$1
shift
source /tmp/src/debmaker
FUNC=$1
shift
${FUNC} $*

View file

@ -86,7 +86,7 @@ debmaker_run(){
debmaker_mount_proc_sys cache/${APP} ${MOUNT_PATH}/${APP}/
for CURRENT_STEP in ${STEP}
do
sudo chroot ${MOUNT_PATH}/${APP}/ /tmp/src/exec_in_chroot.sh ${APP} ${CURRENT_STEP} ${GIT_VERSION} ${DEB_VERSION}
sudo chroot ${MOUNT_PATH}/${APP}/ /tmp/src/exec_in_chroot.sh ${CURRENT_STEP}
done
find ${MOUNT_PATH}/${APP}/tmp/dist/ -name *.deb -exec cp {} dist/ \;
debmaker_umount_proc_sys ${MOUNT_PATH}/${APP}/