~tomleb/alpine-mkinitfs

584a90d42d4a7229410584529f698668d059ffbf — Natanael Copa 1 year, 5 months ago 9acaa5a
init: remove commented out code
1 files changed, 0 insertions(+), 6 deletions(-)

M initramfs-init.in
M initramfs-init.in => initramfs-init.in +0 -6
@@ 848,12 848,6 @@ fi
# fix inittab if alternative console
setup_inittab_console

# copy alpine release info
#if ! [ -f "$sysroot"/etc/alpine-release ] && [ -f $ALPINE_MNT/.alpine-release ]; then
#	cp $ALPINE_MNT/.alpine-release $sysroot/
#	ln -sf /.alpine-release $sysroot/etc/alpine-release
#fi

! [ -f "$sysroot"/etc/resolv.conf ] && [ -f /etc/resolv.conf ] && \
	cp /etc/resolv.conf "$sysroot"/etc