authelia version update
This commit is contained in:
parent
9893d532f9
commit
a36f18bb86
4 changed files with 41 additions and 6 deletions
2
debmaker
2
debmaker
|
@ -25,7 +25,7 @@ chroot)
|
|||
if [ -e cache/$2 ]
|
||||
then
|
||||
. ressources/$2/debmaker
|
||||
debmaker_chroot cache/$2
|
||||
debmaker_chroot
|
||||
else
|
||||
echo no cache file
|
||||
fi
|
||||
|
|
|
@ -24,11 +24,11 @@ zdebmaker_createOS(){
|
|||
zdebmaker_createAppOS(){
|
||||
zdebmaker_getDep
|
||||
[ -f cache/${DEBIAN_VERSION_CODENAME} ] || zdebmaker_createOS
|
||||
|
||||
|
||||
[ "${IMAGE_SIZE}" == "" ] && IMAGE_SIZE=2
|
||||
dd if=/dev/zero of=cache/${APP}.tmp bs=1G count=${IMAGE_SIZE}
|
||||
sudo mkfs.ext4 cache/${APP}.tmp
|
||||
|
||||
|
||||
[ -d ${MOUNT_PATH}/${APP}/ ] || sudo mkdir -p ${MOUNT_PATH}/${APP}/
|
||||
[ -d ${MOUNT_PATH}/${DEBIAN_VERSION_CODENAME}/ ] || sudo mkdir -p ${MOUNT_PATH}/${DEBIAN_VERSION_CODENAME}/
|
||||
sudo mount cache/${APP}.tmp ${MOUNT_PATH}/${APP}/
|
||||
|
@ -72,13 +72,13 @@ debmaker_umount_proc_sys(){
|
|||
}
|
||||
|
||||
debmaker_chroot() {
|
||||
OPEN_FILE=$1
|
||||
OPEN_FILE=cache/$2${APP}
|
||||
zdebmaker_getDep
|
||||
debmaker_mount_proc_sys ${OPEN_FILE} ${MOUNT_PATH}/${APP}/
|
||||
sudo chroot ${MOUNT_PATH}/${APP}/
|
||||
debmaker_umount_proc_sys ${MOUNT_PATH}/${APP}/
|
||||
}
|
||||
|
||||
|
||||
debmaker_run(){
|
||||
zdebmaker_getDep
|
||||
[ -f cache/${APP} ] || zdebmaker_createAppOS
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=4.34.5
|
||||
VERSION=4.34.6
|
||||
RELEASE=1
|
||||
|
||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||
|
|
35
ressources/slimbookbattery/debmaker
Executable file
35
ressources/slimbookbattery/debmaker
Executable file
|
@ -0,0 +1,35 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=4.0.4
|
||||
|
||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||
|
||||
APP=slimbookbattery
|
||||
DEPOT=https://launchpad.net/~slimbook/+archive/ubuntu/slimbook/+sourcefiles/slimbookbattery/${VERSION}/slimbookbattery_${VERSION}.tar.gz
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=1
|
||||
|
||||
STEP="envinit prebuild build makedeb"
|
||||
|
||||
envinit() {
|
||||
if [ $(dpkg -l | grep -e 'ii debhelper ' | wc -l) -eq 1 ];
|
||||
then
|
||||
apt-get update
|
||||
apt-get dist-upgrade -y
|
||||
else
|
||||
apt install -y --no-install-recommends wget ca-certificates debhelper build-essential
|
||||
fi
|
||||
}
|
||||
|
||||
prebuild(){
|
||||
wget -qO - ${DEPOT} | tar -zx -C /tmp/
|
||||
}
|
||||
|
||||
build() {
|
||||
cd /tmp/slimbookbattery-${VERSION}
|
||||
dpkg-buildpackage --no-sign
|
||||
}
|
||||
|
||||
makedeb(){
|
||||
mv /tmp/slimbookbattery_${VERSION}_all.deb /tmp/dist
|
||||
}
|
Loading…
Reference in a new issue