View | Details | Raw Unified | Return to bug 28578
Collapse All | Expand All

(-)a/features.in/stage2/stage1/scripts.d/10-initrd-base (-2 / +9 lines)
Lines 2-6 Link Here
2
# prepare base make-initrd configuration for stage1
2
# prepare base make-initrd configuration for stage1
3
# see also http://www.altlinux.org/Make-initrd-propagator
3
# see also http://www.altlinux.org/Make-initrd-propagator
4
4
5
sed -i 's/AUTODETECT/#&/' /etc/initrd.mk
5
MAKE_INITRD_VER="`make-initrd -V \
6
	| sed -rn 's/^make-initrd version ([0-9.]+)/\1/p'`"
7
8
if [ "`rpmvercmp "$MAKE_INITRD_VER" "0.8.1"`" != "-1" ]; then
9
	echo 'AUTODETECT =' >> /etc/initrd.mk	# make-initrd >= 0.8.1
10
else
11
	sed -i 's/AUTODETECT/#&/' /etc/initrd.mk	# see also #28578
12
fi
13
6
echo 'FEATURES += propagator' >> /etc/initrd.mk
14
echo 'FEATURES += propagator' >> /etc/initrd.mk
7
- 

Return to bug 28578