diff -u sysvinit-2.86.ds1/debian/changelog sysvinit-2.86.ds1/debian/changelog --- sysvinit-2.86.ds1/debian/changelog +++ sysvinit-2.86.ds1/debian/changelog @@ -1,3 +1,10 @@ +sysvinit (2.86.ds1-61ubuntu12) jaunty; urgency=low + + * debian/initscripts/etc/init.d/checkroot.sh: Add handling of /dev/ps3vram + as a swap entry in /etc/fstab (PS3 only). LP: #357980 + + -- Arnaud Jeansen Wed, 08 Apr 2009 22:52:02 +0200 + sysvinit (2.86.ds1-61ubuntu11) jaunty; urgency=low * debian/initscripts/lib/init/mount-functions.sh: Correct syntax of diff -u sysvinit-2.86.ds1/debian/initscripts/etc/init.d/checkroot.sh sysvinit-2.86.ds1/debian/initscripts/etc/init.d/checkroot.sh --- sysvinit-2.86.ds1/debian/initscripts/etc/init.d/checkroot.sh +++ sysvinit-2.86.ds1/debian/initscripts/etc/init.d/checkroot.sh @@ -61,6 +61,17 @@ ""|\#*) continue; ;; + /dev/ps3vram) + # Handle specifically the PS3 case where swap may be + # on the video ram, exposed as /dev/ps3vram. + # This volatile memory has to be activated as a + # swap filesystem on every boot + if [ -b "$DEV" ] && [ "$FSTYPE" = "swap" ] + then + mkswap "$DEV" >/dev/null 2>&1 + swapon -p 10 "$DEV" + fi + ;; /dev/mapper/*) [ "$FSTYPE" = "swap" ] && swap_on_lv=yes ;;