Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit fe38c3d

Browse files
committed
build: changes on core build
Back to using ly as display manager instead of sddm and Change version release into rolling instead version number. - new: packages on package list `cozette-otb` - refactor: create-release scripts
1 parent 3397ee0 commit fe38c3d

File tree

6 files changed

+23
-36
lines changed

6 files changed

+23
-36
lines changed

customize_airootfs.sh

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
#!/usr/bin/env bash
2-
# for package_to_compile in Hyprland; do # Create for-loop with list of package_to_compile
3-
# cd /usr/local/src/${package_to_compile}/ && make install 1>/dev/null
4-
# done # End for-loop statement
5-
# mkdir -p /usr/share/wayland-sessions; cp /usr/local/src/Hyprland/example/hyprland.desktop /usr/share/wayland-sessions/hyprland.desktop
62
sed -i "s/#en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen && locale-gen &>/dev/null # Generate the chosen locale
73
# ╭──────────────────────────────────────────────────────────────────────────────╮
84
# │ Manage service │
95
# ╰──────────────────────────────────────────────────────────────────────────────╯
106
{
117
enable_services=(
12-
# 'ly.service'
13-
'sddm.service'
8+
'ly.service'
9+
# 'sddm.service'
1410
'NetworkManager.service'
1511
'systemd-resolved.service'
1612
'systemd-networkd.service'
@@ -61,23 +57,19 @@ rm -rf /etc/ly && mv -f /etc/ly_conf /etc/ly
6157
# │ Create release file │
6258
# ╰──────────────────────────────────────────────────────────────────────────────╯
6359
{
64-
echo 'PRETTY_NAME="Craccken GNU/Linux 1.0.1"'
65-
echo 'NAME=Craccken'
66-
echo 'BUILD_ID=rolling'
67-
echo 'VERSION="1.0.1 Veronica"'
68-
echo 'VERSION_ID="1.0.1"'
69-
echo 'VERSION_CODENAME=veronica'
60+
echo 'NAME=Craccken Linux'
61+
echo 'PRETTY_NAME="Craccken GNU/Linux"'
7062
echo 'ID=Craccken'
71-
echo 'ID_LIKE=arch'
63+
echo 'BUILD_ID=rolling'
7264
echo 'HOME_URL="https://github.com/Craccken/craccken-linux"'
7365
echo 'DOCUMENTATION_URL="https://github.com/Craccken/craccken-linux"'
7466
echo 'SUPPORT_URL="https://github.com/Craccken/craccken-linux"'
7567
echo 'BUG_REPORT_URL="https://github.com/Craccken/craccken-linux"'
68+
echo 'ID_LIKE=arch'
7669
} > /usr/lib/os-release
7770
{
78-
echo "DISTRIB_CODENAME=veronica"
7971
echo "DISTRIB_ID=Craccken"
80-
echo "DISTRIB_RELEASE=1.0.1"
72+
echo "DISTRIB_RELEASE=rolling"
8173
echo "DISTRIB_DESCRIPTION='Craccken Linux'"
8274
} > /etc/lsb-release
8375
echo "Craccken Linux" > /etc/arch-release

packages.x86_64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ glfw-wayland
234234
nwg-bar
235235
light
236236
nwg-drawer
237-
# ly
237+
ly
238238
swaylock
239239
waybar
240240
xorg-xhost
@@ -340,5 +340,6 @@ fortune-mod
340340
zsh-completions
341341
# x11-ssh-askpass
342342
wl-clipboard-x11
343+
cozette-otb
343344
zsh-autosuggestions
344345
paru

prefix/airootfs/root/customize_airootfs.sh

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
#!/usr/bin/env bash
2-
# for package_to_compile in Hyprland; do # Create for-loop with list of package_to_compile
3-
# cd /usr/local/src/${package_to_compile}/ && make install 1>/dev/null
4-
# done # End for-loop statement
5-
# mkdir -p /usr/share/wayland-sessions; cp /usr/local/src/Hyprland/example/hyprland.desktop /usr/share/wayland-sessions/hyprland.desktop
62
sed -i "s/#en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen && locale-gen &>/dev/null # Generate the chosen locale
73
# ╭──────────────────────────────────────────────────────────────────────────────╮
84
# │ Manage service │
95
# ╰──────────────────────────────────────────────────────────────────────────────╯
106
{
117
enable_services=(
12-
# 'ly.service'
13-
'sddm.service'
8+
'ly.service'
9+
# 'sddm.service'
1410
'NetworkManager.service'
1511
'systemd-resolved.service'
1612
'systemd-networkd.service'
@@ -61,23 +57,19 @@ rm -rf /etc/ly && mv -f /etc/ly_conf /etc/ly
6157
# │ Create release file │
6258
# ╰──────────────────────────────────────────────────────────────────────────────╯
6359
{
64-
echo 'PRETTY_NAME="Craccken GNU/Linux 1.0.1"'
65-
echo 'NAME=Craccken'
66-
echo 'BUILD_ID=rolling'
67-
echo 'VERSION="1.0.1 Veronica"'
68-
echo 'VERSION_ID="1.0.1"'
69-
echo 'VERSION_CODENAME=veronica'
60+
echo 'NAME=Craccken Linux'
61+
echo 'PRETTY_NAME="Craccken GNU/Linux"'
7062
echo 'ID=Craccken'
71-
echo 'ID_LIKE=arch'
63+
echo 'BUILD_ID=rolling'
7264
echo 'HOME_URL="https://github.com/Craccken/craccken-linux"'
7365
echo 'DOCUMENTATION_URL="https://github.com/Craccken/craccken-linux"'
7466
echo 'SUPPORT_URL="https://github.com/Craccken/craccken-linux"'
7567
echo 'BUG_REPORT_URL="https://github.com/Craccken/craccken-linux"'
68+
echo 'ID_LIKE=arch'
7669
} > /usr/lib/os-release
7770
{
78-
echo "DISTRIB_CODENAME=veronica"
7971
echo "DISTRIB_ID=Craccken"
80-
echo "DISTRIB_RELEASE=1.0.1"
72+
echo "DISTRIB_RELEASE=rolling"
8173
echo "DISTRIB_DESCRIPTION='Craccken Linux'"
8274
} > /etc/lsb-release
8375
echo "Craccken Linux" > /etc/arch-release

profiledef.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ iso_name="craccken"
55
iso_label="CRACCKEN_$(date +%Y%m)"
66
iso_publisher="Craccken Linux <https://github.com/Craccken/craccken-linux>"
77
iso_application="Craccken Linux"
8-
iso_version="1.0.1.$(date +%Y.%m.%d)"
8+
iso_version="$(date +%Y.%m.%d)"
99
install_dir="arch"
1010
buildmodes=('iso')
1111
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-ia32.grub.esp' 'uefi-x64.grub.esp' 'uefi-ia32.grub.eltorito' 'uefi-x64.grub.eltorito')

refresh-craccken-linux

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ main(){
1515
# │ Initialize │
1616
# ╰──────────────────────────────────────────────────────────────────────────────╯
1717
emulate -L zsh; setopt extendedglob warncreateglobal pipefail errreturn
18-
need_installed parallel-moreutils mkarchiso # Check if command is installed || exit
19-
need_normal_user # Need normal user || exit
20-
AskPassword # Ask password || exit
18+
need_installed parallel-moreutils mkarchiso # Check if command is installed
19+
need_normal_user # Need normal user
20+
ask-password # Ask password
2121

2222
local file # Declare local variable
2323
local directory # Declare local variable

scripts/create-release

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ main(){
77
local release_dir="$(pwd)/release"
88
local release_iso=$(find "${release_dir}" -type f -name "*.iso" -printf "%f\n" || :)
99
local release_notes="${release_dir}/release-notes.md"
10-
local release_version=$(echo "${release_iso}" | cut -d '-' -f 2 | cut -d '.' -f 1,2,3)
10+
local release_version=$(echo "${release_iso}" | cut -d '-' -f 2 | cut -d '.' -f 1,2)
1111
local release_tag="v${release_version}"
1212
mkdir -p "${release_dir}" # Create release directory
1313
# ╭──────────────────────────────────────────────────────────────────────────────╮
@@ -23,6 +23,8 @@ main(){
2323
\`\`\`
2424
### Changelog:
2525
- Type change-logs here
26+
27+
** Full Changelog: [\`here\`](link)
2628
EOF
2729
nvim "${release_notes}"
2830
# ╭──────────────────────────────────────────────────────────────────────────────╮

0 commit comments

Comments
 (0)