Update Tide version to 0.5 Alpha

This commit is contained in:
2025-03-13 10:26:42 +02:00
parent 8f43392cbf
commit 23579479f7
4 changed files with 43 additions and 40 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
name: filesystem
description: The Tide Linux filesystem
version: 1.2
version: 1.3
architecture: any
keep: ["etc/hosts","etc/hostname","etc/group","etc/passwd","etc/gshadow","etc/shadow","etc/nsswitch.conf","etc/shells"]
type: source
+2 -2
View File
@@ -1,4 +1,4 @@
PRETTY_NAME="Tide Linux 0.4 (Alpha)"
PRETTY_NAME="Tide Linux 0.5 (Alpha)"
NAME="Tide Linux"
VERSION="0.4"
VERSION="0.5"
ID=tide
Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

+37 -35
View File
@@ -5,38 +5,36 @@
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
mkdir -p "$BPM_OUTPUT"/etc
mkdir -p "$BPM_OUTPUT"/var
mkdir -p "$BPM_OUTPUT"/usr
mkdir -p "$BPM_OUTPUT"/dev
mkdir -p "$BPM_OUTPUT"/proc
mkdir -p "$BPM_OUTPUT"/sys
mkdir -p "$BPM_OUTPUT"/run
mkdir -p "$BPM_OUTPUT"/tmp
mkdir -p "$BPM_OUTPUT"/boot
mkdir -p "$BPM_OUTPUT"/opt
mkdir -p "$BPM_OUTPUT"/srv
mkdir -p "$BPM_OUTPUT"/mnt
mkdir -p "$BPM_OUTPUT"/home
install -dm755 "$BPM_OUTPUT"/etc
install -dm755 "$BPM_OUTPUT"/var
install -dm755 "$BPM_OUTPUT"/usr
install -dm755 "$BPM_OUTPUT"/dev
install -dm755 "$BPM_OUTPUT"/proc
install -dm755 "$BPM_OUTPUT"/sys
install -dm755 "$BPM_OUTPUT"/run
install -dm755 "$BPM_OUTPUT"/tmp
install -dm755 "$BPM_OUTPUT"/boot
install -dm755 "$BPM_OUTPUT"/opt
install -dm755 "$BPM_OUTPUT"/srv
install -dm755 "$BPM_OUTPUT"/mnt
install -dm755 "$BPM_OUTPUT"/home
mkdir -p "$BPM_OUTPUT"/etc/{opt,sysconfig}
mkdir -p "$BPM_OUTPUT"/usr/lib/firmware
mkdir -p "$BPM_OUTPUT"/media/{floppy,cdrom}
mkdir -p "$BPM_OUTPUT"/usr/{,local/}{include,src}
mkdir -p "$BPM_OUTPUT"/usr/{,local/}{bin,lib,lib64,sbin}
mkdir -p "$BPM_OUTPUT"/usr/{,local/}share/{color,dict,doc,info,locale,man}
mkdir -p "$BPM_OUTPUT"/usr/{,local/}share/{misc,terminfo,zoneinfo}
mkdir -p "$BPM_OUTPUT"/usr/{,local/}share/man/man{1..8}
mkdir -p "$BPM_OUTPUT"/var/{cache,local,log,mail,opt,spool}
mkdir -p "$BPM_OUTPUT"/var/lib/{color,misc,locate}
install -dm755 "$BPM_OUTPUT"/usr/lib/firmware
install -dm755 "$BPM_OUTPUT"/usr/{,local/}{include,src}
install -dm755 "$BPM_OUTPUT"/usr/{,local/}{bin,lib,sbin}
install -dm755 "$BPM_OUTPUT"/lib64
install -dm755 "$BPM_OUTPUT"/usr/{,local/}share/{color,dict,doc,info,locale,man}
install -dm755 "$BPM_OUTPUT"/usr/{,local/}share/{misc,terminfo,zoneinfo}
install -dm755 "$BPM_OUTPUT"/usr/{,local/}share/man/man{1..8}
install -dm755 "$BPM_OUTPUT"/var/{cache,local,log,mail,opt,spool}
install -dm755 "$BPM_OUTPUT"/var/lib/{color,misc,locate}
install -d -m 0750 "$BPM_OUTPUT"/root
install -d -m 1777 /tmp "$BPM_OUTPUT"/var/tmp
install -dm750 "$BPM_OUTPUT"/root
install -dm1777 /tmp "$BPM_OUTPUT"/var/tmp
ln -s usr/bin "$BPM_OUTPUT"/bin
ln -s usr/sbin "$BPM_OUTPUT"/sbin
ln -s usr/lib "$BPM_OUTPUT"/lib
ln -s usr/lib64 "$BPM_OUTPUT"/lib64
ln -s /proc/self/mounts "$BPM_OUTPUT"/etc/mtab
ln -s /run "$BPM_OUTPUT"/var/run
ln -s /run/lock "$BPM_OUTPUT"/var/lock
@@ -47,15 +45,19 @@ package() {
chmod 664 "$BPM_OUTPUT"/var/log/lastlog
chmod 600 "$BPM_OUTPUT"/var/log/btmp
cp "$BPM_WORKDIR"/hosts "$BPM_OUTPUT"/etc/hosts
cp "$BPM_WORKDIR"/group "$BPM_OUTPUT"/etc/group
cp "$BPM_WORKDIR"/passwd "$BPM_OUTPUT"/etc/passwd
cp "$BPM_WORKDIR"/gshadow "$BPM_OUTPUT"/etc/gshadow
cp "$BPM_WORKDIR"/shadow "$BPM_OUTPUT"/etc/shadow
cp "$BPM_WORKDIR"/nsswitch.conf "$BPM_OUTPUT"/etc/nsswitch.conf
cp "$BPM_WORKDIR"/os-release "$BPM_OUTPUT"/etc/os-release
cp "$BPM_WORKDIR"/lsb-release "$BPM_OUTPUT"/etc/lsb-release
cp "$BPM_WORKDIR"/shells "$BPM_OUTPUT"/etc/shells
install -Dm644 "$BPM_WORKDIR"/hosts "$BPM_OUTPUT"/etc/hosts
install -Dm644 "$BPM_WORKDIR"/group "$BPM_OUTPUT"/etc/group
install -Dm644 "$BPM_WORKDIR"/passwd "$BPM_OUTPUT"/etc/passwd
install -Dm644 "$BPM_WORKDIR"/gshadow "$BPM_OUTPUT"/etc/gshadow
install -Dm644 "$BPM_WORKDIR"/shadow "$BPM_OUTPUT"/etc/shadow
install -Dm644 "$BPM_WORKDIR"/nsswitch.conf "$BPM_OUTPUT"/etc/nsswitch.conf
install -Dm644 "$BPM_WORKDIR"/os-release "$BPM_OUTPUT"/etc/os-release
install -Dm644 "$BPM_WORKDIR"/lsb-release "$BPM_OUTPUT"/etc/lsb-release
install -Dm644 "$BPM_WORKDIR"/shells "$BPM_OUTPUT"/etc/shells
install -Dm644 "$BPM_WORKDIR"/tide_linux_logo.png "$BPM_OUTPUT"/usr/share/pixmaps/tide_linux_logo.png
touch "$BPM_OUTPUT"/etc/subuid
touch "$BPM_OUTPUT"/etc/subgid
echo "tidelinux" > "$BPM_OUTPUT"/etc/hostname
}