Skip to content

Commit

Permalink
Merge pull request #38 from TGJek/3.20.3-devel
Browse files Browse the repository at this point in the history
Updated Alpine Linux distro version from 3.18.4 to 3.20.3
  • Loading branch information
yuk7 authored Oct 19, 2024
2 parents 7f40d55 + b57a5a5 commit b46a820
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2017-2022 yuk7
Copyright (c) 2024 TKTek

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ $ make ARCH=arm64 OUT_ZIP=Alpine_arm64.zip
| DLR | file downloader | curl |
| DLR_FLAGS | downloader flags | -L |
| BASE_URL | base rootfs url | https:~ |
| ROOTFS_TARBALL_CKSM_URL | sha-sum for the base rootfs tarball | https:~ |
10 changes: 9 additions & 1 deletion src_arm64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ LNCR_EXE=Alpine.exe

DLR=curl
DLR_FLAGS=-L
BASE_URL=https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/aarch64/alpine-minirootfs-3.18.4-aarch64.tar.gz
BASE_URL=https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/aarch64/alpine-minirootfs-3.20.3-aarch64.tar.gz
ROOTFS_TARBALL_CKSM_URL=${BASE_URL}.sha512
LNCR_ZIP_URL=https://github.com/yuk7/wsldl/releases/download/23072600/icons_arm64.zip
LNCR_ZIP_EXE=Alpine.exe

Expand Down Expand Up @@ -48,6 +49,12 @@ rootfs: base.tar.gz profile
base.tar.gz:
@echo -e '\e[1;31mDownloading base.tar.gz...\e[m'
$(DLR) $(DLR_FLAGS) $(BASE_URL) -o base.tar.gz
$(DLR) $(DLR_FLAGS) $(ROOTFS_TARBALL_CKSM_URL) -o base.tar.gz.sha512sum.txt
if ! (head -c 128 < base.tar.gz.sha512sum.txt; echo " base.tar.gz") | shasum -c; then \
echo 'Checksum failed.'; \
rm base.tar.gz base.tar.gz.sha512sum.txt; \
exit 1; \
fi

clean:
@echo -e '\e[1;31mCleaning files...\e[m'
Expand All @@ -56,5 +63,6 @@ clean:
-rm Launcher.exe
-rm icons.zip
-rm rootfs.tar.gz
-rm rootfs.tar.gz.sha512sum.txt
-sudo rm -r rootfs
-rm base.tar.gz
10 changes: 9 additions & 1 deletion src_x64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ LNCR_EXE=Alpine.exe

DLR=curl
DLR_FLAGS=-L
BASE_URL=https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/x86_64/alpine-minirootfs-3.18.4-x86_64.tar.gz
BASE_URL=https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/x86_64/alpine-minirootfs-3.20.3-x86_64.tar.gz
ROOTFS_TARBALL_CKSM_URL=${BASE_URL}.sha512
LNCR_ZIP_URL=https://github.com/yuk7/wsldl/releases/download/23072600/icons.zip
LNCR_ZIP_EXE=Alpine.exe

Expand Down Expand Up @@ -50,6 +51,12 @@ rootfs: base.tar.gz profile
base.tar.gz:
@echo -e '\e[1;31mDownloading base.tar.gz...\e[m'
$(DLR) $(DLR_FLAGS) $(BASE_URL) -o base.tar.gz
$(DLR) $(DLR_FLAGS) $(ROOTFS_TARBALL_CKSM_URL) -o base.tar.gz.sha512sum.txt
if ! (head -c 128 < base.tar.gz.sha512sum.txt; echo " base.tar.gz") | shasum -c; then \
echo 'Checksum failed.'; \
rm base.tar.gz base.tar.gz.sha512sum.txt; \
exit 1; \
fi

clean:
@echo -e '\e[1;31mCleaning files...\e[m'
Expand All @@ -58,5 +65,6 @@ clean:
-rm Launcher.exe
-rm icons.zip
-rm rootfs.tar.gz
-rm rootfs.tar.gz.sha512sum.txt
-sudo rm -r rootfs
-rm base.tar.gz

0 comments on commit b46a820

Please sign in to comment.