-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel-6.8/macaroni-full: Bump v.6.8.0
- Loading branch information
Showing
6 changed files
with
10,658 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
PACKAGE_VERSION=${PACKAGE_VERSION%\+*} | ||
mkdir -p output/boot | ||
pushd ${KERNEL_TYPE} | ||
|
||
make -j$(nproc --ignore=1) KBUILD_BUILD_VERSION="$PACKAGE_VERSION-Macaroni" | ||
|
||
if [[ -L "arch/${ARCH}/boot/bzImage" ]]; then | ||
cp -rfv $(readlink -f "arch/${ARCH}/boot/bzImage") ../output/boot/"kernel-${KERNEL_PREFIX}-${ARCH}-${PACKAGE_VERSION}-${SUFFIX}" | ||
else | ||
cp -rfv arch/${ARCH}/boot/bzImage ../output/boot/"kernel-${KERNEL_PREFIX}-${ARCH}-${PACKAGE_VERSION}-${SUFFIX}" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
image: "macaronios/terragon-minimal-devel:latest-amd64" | ||
env: | ||
- ARCH=x86_64 | ||
- KERNEL_PREFIX=vanilla | ||
- SUFFIX=macaroni | ||
- KERNEL_TYPE=linux | ||
prelude: | ||
- >- | ||
export LUET_YES=true && | ||
luet repo update && | ||
luet i app-arch/zstd app-arch/xz-utils sys-devel/flex | ||
sys-devel/bison sys-libs/ncurses sys-devel/make dev-util/kbuild | ||
dev-vcs/git dev-libs/openssl dev-libs/elfutils | ||
binutils sys-libs/binutils-libs | ||
sys-devel/gcc-config | ||
sys-apps/gawk | ||
virtual/base | ||
sys-apps/diffutils | ||
sys-apps/baselayout | ||
sys-apps/lsb-release | ||
sys-apps/portage | ||
net-misc/wget | ||
app-misc/ca-certificates | ||
sys-kernel/linux-headers | ||
sys-devel/bc | ||
sys-apps/kmod | ||
&& | ||
mkdir -p /etc/portage /tmp && | ||
echo "CHOST=\"${ARCH}-pc-linux-gnu\"" > /etc/portage/make.conf && | ||
/usr/bin/gcc-config 1 && | ||
eselect gcc set 1 && | ||
mkdir -p /var/lib/portage && | ||
eval 'rm /etc/localtime || true' && | ||
ln -s /usr/share/zoneinfo/Europe/Rome /etc/localtime && | ||
env-update && | ||
ldconfig && | ||
luet cleanup --purge-repos | ||
- bash prepare.sh | ||
steps: | ||
- bash build.sh | ||
package_dir: /luetbuild/output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: macaroni-full | ||
version: 6.8.0 | ||
category: kernel-6.8 | ||
requires: | ||
- name: macaroni-modules | ||
version: '>=0' | ||
category: kernel-6.8 | ||
- name: ctl | ||
version: '>=0' | ||
category: macaroni | ||
- name: sh | ||
version: '>=0' | ||
category: virtual | ||
annotations: | ||
kernel: | ||
eol: "N/A" | ||
lts: false | ||
released: "2024-03-10" | ||
suffix: macaroni | ||
type: vanilla | ||
labels: | ||
autobump.hook: | | ||
curl -Ls https://kernel.org/releases.json | jq -cr '[ .releases[] | select(.moniker == "longterm") ][0].version' | ||
autobump.prefix: prefix | ||
autobump.revdeps: "false" | ||
autobump.strategy: custom | ||
autobump.string_replace: '{ "prefix": "" }' | ||
autobump.version_hook: | | ||
curl -Ls https://kernel.org/releases.json | jq -cr '[ .releases[] | select(.moniker == "longterm") ][0].version' | ||
package.version: 6.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
uninstall: | ||
- >- | ||
eval 'rm -vf ${EROOT}/lib/modules/{{ index .Values.labels "package.version" }}-macaroni/modules.* || true' && | ||
withfiles=$(ls -1 ${EROOT}/lib/modules/{{ index .Values.labels "package.version" }}-macaroni/ | wc -l) && | ||
if [ $withfiles -eq 0 ] ; then rm -rf ${EROOT}/lib/modules/{{ index .Values.labels "package.version" }}-macaroni/ ; fi | ||
install: | ||
- depmod -a {{ index .Values.labels "package.version" }}-macaroni || true | ||
- if [ -z ${BUILD_ISO} ] ; then env && PATH="/bin:/sbin:/usr/bin:/usr/sbin" macaronictl kernel gi --set-links --grub --purge --all || true ; fi |
Oops, something went wrong.