File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ export CMD_PATH=$(cd `dirname $0`; pwd)
55export PROJECT_NAME=" ${CMD_PATH##*/ } "
66cd $CMD_PATH
77
8+ FAMILY_ID=" fedora"
89IMAGE=almalinux
910source podman.command.sh
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ export CMD_PATH=$(cd `dirname $0`; pwd)
55export PROJECT_NAME=" ${CMD_PATH##*/ } "
66cd $CMD_PATH
77
8+ FAMILY_ID=" archlinux"
89IMAGE=" archlinux:latest"
910source podman.command.sh arch
Original file line number Diff line number Diff line change @@ -80,8 +80,12 @@ if [[ -f /etc/os-release ]]; then
8080 apt install -y libcap2-bin
8181
8282 else
83- echo " distro not supported"
84- exit 1
83+ # DEFAULT Debian
84+ echo " install the package of capsh"
85+ apt update -y
86+ apt install linux-image-amd64 -y
87+ apt install -y kmod
88+ apt install -y libcap2-bin
8589 fi
8690fi
8791
Original file line number Diff line number Diff line change @@ -107,5 +107,6 @@ if [ -f /etc/os-release ]; then
107107 arch_install
108108 else
109109 tarballs_install
110+ # debs_install
110111 fi
111112fi
Original file line number Diff line number Diff line change 44export CMD_PATH=$( cd ` dirname $0 ` ; pwd)
55export PROJECT_NAME=" ${CMD_PATH##*/ } "
66echo $PROJECT_NAME
7+ echo " FAMILY_ID $FAMILY_ID "
78
89if [ -f /etc/os-release ]; then
910 . /etc/os-release
@@ -26,7 +27,8 @@ if [ -f /etc/os-release ]; then
2627 elif [[ " $ID " == " ubuntu" ]]; then
2728 source /ci/* run-on-ubuntu.sh
2829 else
29- echo " distro not supported"
30- exit 1
30+ if [[ " $FAMILY_ID " == " debian" ]]; then
31+ source /ci/* run-on-debian.sh
32+ fi
3133 fi
3234fi
Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ source ./kernel-overlay-install.sh
4343source ./penguins-eggs-install.sh
4444
4545# systemd
46- systemctl set-default multi-user.target
46+ systemctl set-default graphical.target
47+ # systemctl set-default multi-user.target
4748systemctl enable getty@tty1.service
4849
4950# execute eggs
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ if [ -f /etc/os-release ]; then
1717 fi
1818fi
1919
20+ FAMILY_ID=" debian"
2021IMAGE=" debian:12"
2122source podman.command.sh debian
2223
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ if [ -f /etc/os-release ]; then
1919 fi
2020fi
2121
22+ FAMILY_ID=" debian"
2223IMAGE=" devuan/devuan:daedalus"
2324source podman.command.sh devuan
2425
Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ export PROJECT_NAME="${CMD_PATH##*/}"
77echo $PROJECT_NAME
88cd $CMD_PATH
99
10+ FAMILY_ID=" fedora"
1011IMAGE=" fedora:41"
1112source podman.command.sh
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -x
4+ export CMD_PATH=$( cd ` dirname $0 ` ; pwd)
5+ export PROJECT_NAME=" ${CMD_PATH##*/ } "
6+ cd $CMD_PATH
7+
8+ # define YOLK if host=Debian
9+ if [ -f /etc/os-release ]; then
10+ . /etc/os-release
11+ if [[ " $ID " == " debian" ]]; then
12+ DEST=" /var/local/yolk"
13+ if [ ! -d $DEST ]; then
14+ sudo mkdir -p $DEST
15+ fi
16+ YOLK=" -v $DEST :$DEST "
17+ fi
18+ fi
19+
20+ FAMILY_ID=" debian"
21+ IMAGE=" dockerscripts/linuxmint:lmde-minimal"
22+ source podman.command.sh
You can’t perform that action at this time.
0 commit comments