aboutsummaryrefslogblamecommitdiffstats
path: root/scripts/mkimg.minirootfs.sh
blob: 6b8b6b903c3411d01e06ca02759e543e91504056 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                        



                                      

                            
                                                           

                                                                                
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"
	rootfs_apks="busybox alpine-baselayout alpine-keys apk-tools libc-utils"
}