commit af4417c7b1bbb97d30bd705bcf07b198b9a03bdd Author: Герхард PICCORO Lenz McKAY <12411-mckaygerhard@users.noreply.gitlab.com> Date: Fri May 27 22:29:42 2022 -0400 first upload: profile and scripts, package list * upload profiles for x86 and x64 build of iso alpine for VenenuX * put default readme * TODO: upload artwork and add git makeiso ubmodule as git repo diff --git a/README.md b/README.md new file mode 100644 index 0000000..18f7645 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# Alpine VenenuX + +VenenuX build ISO image repository for Alpine Linux flavor + +It will build a Alpine ISO in same line as Debian, including manpages and forensic commands. + +## Build: + +You can buil 32 and 64 bits ISO of Alpine VenenuX edge as: + +* For 32bit `mkteaiso --profile=./alpine-venenux-edge-x86 --output=./ --debug` +* For 64bit `mkteaiso --profile=./alpine-venenux-edge-x64 --output=./ --debug` + +## Dependencies + +VenenuX's `makeiso` or `mkteaiso`, any of them can work: + +* VenenuX-teaiso: https://codeberg.org/venenux/venenux-teaiso +* Teaiso: https://gitlab.com/tearch-linux/applications-and-tools/teaiso + +## Issues + +* Alpine installer will need networking active, there's no offline install possible. + diff --git a/alpine-venenux-edge-x64/customize-airootfs-pre.sh b/alpine-venenux-edge-x64/customize-airootfs-pre.sh new file mode 100755 index 0000000..af73604 --- /dev/null +++ b/alpine-venenux-edge-x64/customize-airootfs-pre.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +mkdir -p /etc/X11 || true +echo "Xft.antialias: 0" > /etc/X11/Xresources || true +echo "Xft.rgba: rgb" >> /etc/X11/Xresources +echo "Xft.autohint: 0" >> /etc/X11/Xresources +echo "Xft.hinting: 1" >> /etc/X11/Xresources +echo "Xft.hintstyle: hintslight" >> /etc/X11/Xresources +echo "XTerm*geometry: 180x20+10+10" >> /etc/X11/Xresources +echo "xterm*vt100*geometry: 80x40" >> /etc/X11/Xresources +echo "XTerm*savelines: 1000" >> /etc/X11/Xresources +echo "XTerm*selectToClipboard: true" >> /etc/X11/Xresources +echo "xterm*loginShell: true" >> /etc/X11/Xresources +echo "xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48" >> /etc/X11/Xresources +echo "xterm*eightBitInput: false" >> /etc/X11/Xresources +echo "URxvt*font:xft:Terminus:pixelsize=14" >> /etc/X11/Xresources +echo "xterm*faceName:Terminus:style=Regular:size=14" >> /etc/X11/Xresources +echo "xterm*faceSize: 14" >> /etc/X11/Xresources diff --git a/alpine-venenux-edge-x64/customize-airootfs.sh b/alpine-venenux-edge-x64/customize-airootfs.sh new file mode 100755 index 0000000..d4090a6 --- /dev/null +++ b/alpine-venenux-edge-x64/customize-airootfs.sh @@ -0,0 +1,32 @@ +#!/usr/bin/env bash + +# ==================================== +#defaults base +apk add attr attr-doc procps procps-doc binutils findutils readline +echo -e "root\nroot\n" | passwd root +# ===================================== +# console base +apk add man-pages man-db doas +apk add wget wget-doc bash bash-doc less groff bzip2 lsof nano coreutils coreutils-doc sed attr procps dialog binutils findutils readline curl curl-doc perl perl-utils perl-doc +# console admin tools +apk add pciutils pciutils-doc util-linux util-linux-doc coreutils coreutils-doc bash bash-doc less less-doc groff groff-doc lsof lsof-doc sed sed-doc +apk add aria2 aria2-doc curl curl-doc wget wget-doc +apk add htop htop-doc mc mc-doc rsync rsync-doc git git-cvs git-svn git-doc subversion subversion-doc nano perl perl-utils perl-doc +apk add unzip bzip2 p7zip xz libarchive-tools libarchive-doc +apk add fortune +# ==================================== +# device management, video and networking base +apk add dbus dbus-openrc dbus-doc eudev eudev-openrc eudev-doc udevil udevil-doc acpi acpi-doc eudev-rule-generator +rc-update add udev +rc-update add dbus +# networking need in teaiso a network manager. currently only networkmanager works well, it depends on dbus +apk add networkmanager networkmanager-openrc wpa_supplicant wpa_supplicant-doc +rc-update add networkmanager +rc-update add wpa_supplicant +# hardware network management +apk add iw nmap nmap-scripts nmap-ncat nmap-doc nmap-nping fping fping-doc wpa_supplicant wpa_supplicant-doc snmptt net-snmp net-snmp-tools net-snmp-doc +# hardware sound management +apk add alsa-utils alsa-utils-doc alsa-lib alsaconf +rc-update add alsa +# hardware disk management +apk add partimage partimage-doc ntfs-3g ntfs-3g-doc ntfs-3g-progs sfdisk cfdisk gptfdisk gptfdisk-doc sgdisk diff --git a/alpine-venenux-edge-x64/grub.cfg b/alpine-venenux-edge-x64/grub.cfg new file mode 100644 index 0000000..9aa8e71 --- /dev/null +++ b/alpine-venenux-edge-x64/grub.cfg @@ -0,0 +1,6 @@ +insmod all_video +insmod part_msdos +insmod part_gpt +insmod fat + +set timeout=10 diff --git a/alpine-venenux-edge-x64/packages-base b/alpine-venenux-edge-x64/packages-base new file mode 100644 index 0000000..c4c8f3e --- /dev/null +++ b/alpine-venenux-edge-x64/packages-base @@ -0,0 +1,3 @@ +bash +linux-edge +linux-firmware diff --git a/alpine-venenux-edge-x64/profile.yaml b/alpine-venenux-edge-x64/profile.yaml new file mode 100755 index 0000000..3664123 --- /dev/null +++ b/alpine-venenux-edge-x64/profile.yaml @@ -0,0 +1,21 @@ +name: alpine-venenux-edge +distro: alpine +publisher: VenenuX Alpine x64 edge +label: VENENUX_ALPINE_EDGE +codename: edge +application_id: Alpine Linux Live VenenuX +arch: x86_64 +compression: squashfs||-comp gzip +grub_cfg: grub.cfg +linux_args: quiet acpi_enforce_resources=lax iomem=relaxed nomsi +packages: + - packages-base.x86_64 +file_permissions: + - /etc/shadow|0:0:400 +customize_airootfs: + - customize-airootfs.sh +customize_airootfs_pre: + - customize-airootfs_pre.sh +airootfs_directory_pre: airootfs_pre +airootfs_directory: airootfs_dir + diff --git a/alpine-venenux-edge-x86/customize-airootfs-pre.sh b/alpine-venenux-edge-x86/customize-airootfs-pre.sh new file mode 100755 index 0000000..af73604 --- /dev/null +++ b/alpine-venenux-edge-x86/customize-airootfs-pre.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +mkdir -p /etc/X11 || true +echo "Xft.antialias: 0" > /etc/X11/Xresources || true +echo "Xft.rgba: rgb" >> /etc/X11/Xresources +echo "Xft.autohint: 0" >> /etc/X11/Xresources +echo "Xft.hinting: 1" >> /etc/X11/Xresources +echo "Xft.hintstyle: hintslight" >> /etc/X11/Xresources +echo "XTerm*geometry: 180x20+10+10" >> /etc/X11/Xresources +echo "xterm*vt100*geometry: 80x40" >> /etc/X11/Xresources +echo "XTerm*savelines: 1000" >> /etc/X11/Xresources +echo "XTerm*selectToClipboard: true" >> /etc/X11/Xresources +echo "xterm*loginShell: true" >> /etc/X11/Xresources +echo "xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48" >> /etc/X11/Xresources +echo "xterm*eightBitInput: false" >> /etc/X11/Xresources +echo "URxvt*font:xft:Terminus:pixelsize=14" >> /etc/X11/Xresources +echo "xterm*faceName:Terminus:style=Regular:size=14" >> /etc/X11/Xresources +echo "xterm*faceSize: 14" >> /etc/X11/Xresources diff --git a/alpine-venenux-edge-x86/customize-airootfs.sh b/alpine-venenux-edge-x86/customize-airootfs.sh new file mode 100755 index 0000000..d4090a6 --- /dev/null +++ b/alpine-venenux-edge-x86/customize-airootfs.sh @@ -0,0 +1,32 @@ +#!/usr/bin/env bash + +# ==================================== +#defaults base +apk add attr attr-doc procps procps-doc binutils findutils readline +echo -e "root\nroot\n" | passwd root +# ===================================== +# console base +apk add man-pages man-db doas +apk add wget wget-doc bash bash-doc less groff bzip2 lsof nano coreutils coreutils-doc sed attr procps dialog binutils findutils readline curl curl-doc perl perl-utils perl-doc +# console admin tools +apk add pciutils pciutils-doc util-linux util-linux-doc coreutils coreutils-doc bash bash-doc less less-doc groff groff-doc lsof lsof-doc sed sed-doc +apk add aria2 aria2-doc curl curl-doc wget wget-doc +apk add htop htop-doc mc mc-doc rsync rsync-doc git git-cvs git-svn git-doc subversion subversion-doc nano perl perl-utils perl-doc +apk add unzip bzip2 p7zip xz libarchive-tools libarchive-doc +apk add fortune +# ==================================== +# device management, video and networking base +apk add dbus dbus-openrc dbus-doc eudev eudev-openrc eudev-doc udevil udevil-doc acpi acpi-doc eudev-rule-generator +rc-update add udev +rc-update add dbus +# networking need in teaiso a network manager. currently only networkmanager works well, it depends on dbus +apk add networkmanager networkmanager-openrc wpa_supplicant wpa_supplicant-doc +rc-update add networkmanager +rc-update add wpa_supplicant +# hardware network management +apk add iw nmap nmap-scripts nmap-ncat nmap-doc nmap-nping fping fping-doc wpa_supplicant wpa_supplicant-doc snmptt net-snmp net-snmp-tools net-snmp-doc +# hardware sound management +apk add alsa-utils alsa-utils-doc alsa-lib alsaconf +rc-update add alsa +# hardware disk management +apk add partimage partimage-doc ntfs-3g ntfs-3g-doc ntfs-3g-progs sfdisk cfdisk gptfdisk gptfdisk-doc sgdisk diff --git a/alpine-venenux-edge-x86/grub.cfg b/alpine-venenux-edge-x86/grub.cfg new file mode 100644 index 0000000..9aa8e71 --- /dev/null +++ b/alpine-venenux-edge-x86/grub.cfg @@ -0,0 +1,6 @@ +insmod all_video +insmod part_msdos +insmod part_gpt +insmod fat + +set timeout=10 diff --git a/alpine-venenux-edge-x86/packages-base b/alpine-venenux-edge-x86/packages-base new file mode 100644 index 0000000..c4c8f3e --- /dev/null +++ b/alpine-venenux-edge-x86/packages-base @@ -0,0 +1,3 @@ +bash +linux-edge +linux-firmware diff --git a/alpine-venenux-edge-x86/profile.yaml b/alpine-venenux-edge-x86/profile.yaml new file mode 100755 index 0000000..920831f --- /dev/null +++ b/alpine-venenux-edge-x86/profile.yaml @@ -0,0 +1,21 @@ +name: alpine-venenux-edge +distro: alpine +publisher: VenenuX Alpine x64 edge +label: VENENUX_ALPINE_EDGE +codename: edge +application_id: Alpine Linux Live VenenuX +arch: x86 +compression: squashfs||-comp gzip +grub_cfg: grub.cfg +linux_args: quiet acpi_enforce_resources=lax iomem=relaxed nomsi +packages: + - packages-base +file_permissions: + - /etc/shadow|0:0:400 +customize_airootfs: + - customize-airootfs.sh +customize_airootfs_pre: + - customize-airootfs_pre.sh +airootfs_directory_pre: airootfs_pre +airootfs_directory: airootfs_dir +