rootfs: (arm) disable postplug filesystem check to prevent a crash seen in Hannspad

sdk-root: add icecc
This commit is contained in:
root 2012-05-10 14:48:53 +02:00
parent 74bdfbc3a5
commit 4601476c19
2 changed files with 7 additions and 1 deletions

View File

@ -121,6 +121,12 @@ for f in ChangeLog Changelog CHANGES TODO NEWS README README.txt; do
find $MOUNTDIR/usr/share/doc -name $f -exec rm -f {} \;
done
# disable filesystem autocheck due to a kernel bug in hannspad (blkid generated kernel crash)
if [ "$ARCH" = "arm" ]; then
sed -i "s|FS_PARTS_UPDATE=yes|FS_PARTS_UPDATE=no|" $MOUNTDIR/etc/sysconfig/postplug
sed -i "s|FS_SWAP_UPDATE=yes|FS_SWAP_UPDATE=no|" $MOUNTDIR/etc/sysconfig/postplug
fi
# FIXME: this should be done by postplug only when touchscreen is detected
mkdir -p $MOUNTDIR/home/liveuser/.icons/default
cat > $MOUNTDIR/home/liveuser/.icons/default/index.theme << _EOF

View File

@ -12,7 +12,7 @@ $(MAKEDIST_TARGET)-sdk-root: openssh-server usbutils wireless_tools parted \
tcpdump pcmcia-utils xdg-utils iproute syslog-ng \
rpm autospec autodist nfs-utils patch sudo smart \
pkgconfig diffutils autoconf automake libtool gettext xorg-server \
tightvnc-server lxde midori $(MAKEDIST_TARGET)-devel
tightvnc-server lxde midori $(MAKEDIST_TARGET)-devel icecc
$(MAKEDIST_TARGET)-sdk-root-missing: wpa_supplicant dosfstools cups vim postplug ipw2100-firmware ipw2200-firmware zd1211-firmware \
rt2501-firmware rt2870-firmware b43-tools r5u87x-firmware mdadm \
ndiswrapper slmodem unionfs_utils nfs-utils mbr