Apply patch from Bdale to make CD building work correctly on HPPA.
This commit is contained in:
parent
9fdb678d8b
commit
d44ee5d938
|
@ -46,8 +46,8 @@ else
|
||||||
wget -r -nd --no-parent -P "$DI_DIR" "$DI_WWW_HOME"
|
wget -r -nd --no-parent -P "$DI_DIR" "$DI_WWW_HOME"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp "$DI_DIR"/vmlinux-*-32 "$CDROOT/install"
|
cp "$DI_DIR"/vmlinux-*-parisc "$CDROOT/install"
|
||||||
cp "$DI_DIR"/vmlinux-*-64 "$CDROOT/install"
|
cp "$DI_DIR"/vmlinux-*-parisc64 "$CDROOT/install"
|
||||||
cp "$DI_DIR"/initrd.gz "$CDROOT/install"
|
cp "$DI_DIR"/initrd.gz "$CDROOT/install"
|
||||||
|
|
||||||
install_languages "$CDROOT"
|
install_languages "$CDROOT"
|
||||||
|
|
|
@ -21,8 +21,8 @@ if [ $N != 1 -a $N != 1_NONUS ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
K32=$(ls $CDROOT/install/vmlinux-*-32|head -1)
|
K32=$(ls $CDROOT/install/vmlinux-*-parisc|head -1)
|
||||||
K64=$(ls $CDROOT/install/vmlinux-*-64|head -1)
|
K64=$(ls $CDROOT/install/vmlinux-*-parisc64|head -1)
|
||||||
RSIZE=$(expr $(zcat "$CDROOT/install/initrd.gz" | wc --bytes) / 1024)
|
RSIZE=$(expr $(zcat "$CDROOT/install/initrd.gz" | wc --bytes) / 1024)
|
||||||
/sbin/palo \
|
/sbin/palo \
|
||||||
--commandline="0/vmlinux root=/dev/ram initrd=0/ramdisk ramdisk_size=$RSIZE init=/linuxrc" \
|
--commandline="0/vmlinux root=/dev/ram initrd=0/ramdisk ramdisk_size=$RSIZE init=/linuxrc" \
|
||||||
|
|
Loading…
Reference in New Issue