mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-10 13:56:38 +02:00
The special handling was needed when the alpine-base package included release and other data. This was changed[0] and now the complete alpine-release package is included in the minirootfs[1]. This change removed the reason the special handling was added in the first place so we can remove it completely. Fixes #16553 [0]:23e66e85c9
[1]:704af9b4ba
25 lines
685 B
Bash
Executable file
25 lines
685 B
Bash
Executable file
section_minirootfs() {
|
|
return 0
|
|
}
|
|
|
|
create_image_rootfs() {
|
|
local _script=$(readlink -f "$scriptdir/genrootfs.sh")
|
|
local output_file="$(readlink -f ${OUTDIR:-.})/$output_filename"
|
|
|
|
(cd "$OUTDIR"; fakeroot "$_script" -k "$APKROOT"/etc/apk/keys \
|
|
-r "$APKROOT"/etc/apk/repositories \
|
|
-o "$output_file" \
|
|
-a $ARCH \
|
|
$rootfs_apks)
|
|
}
|
|
|
|
profile_minirootfs() {
|
|
title="Mini root filesystem"
|
|
desc="Minimal root filesystem.
|
|
For use in containers
|
|
and minimal chroots."
|
|
image_ext=tar.gz
|
|
output_format=rootfs
|
|
arch="x86 x86_64 armhf armv7 aarch64 ppc64le s390x mips64 riscv64 loongarch64"
|
|
rootfs_apks="busybox alpine-baselayout alpine-keys alpine-release apk-tools libc-utils"
|
|
}
|