mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-12 03:11:40 +00:00
Add sortfile usage to squashfs
This commit is contained in:
parent
3554cf849f
commit
1ce938a716
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -2,6 +2,7 @@ livecd-rootfs (0.28) UNRELEASED; urgency=low
|
|||||||
|
|
||||||
* Welcome to Edgy... Switch the default i386 kernel to -686, yay!
|
* Welcome to Edgy... Switch the default i386 kernel to -686, yay!
|
||||||
* And when I say "edgy", I really mean it (ie: change the suite too)
|
* And when I say "edgy", I really mean it (ie: change the suite too)
|
||||||
|
* Add the use of a sortfile from Tollef to the squashfs invocation.
|
||||||
|
|
||||||
-- Adam Conrad <adconrad@ubuntu.com> Fri, 9 Jun 2006 23:13:11 +1000
|
-- Adam Conrad <adconrad@ubuntu.com> Fri, 9 Jun 2006 23:13:11 +1000
|
||||||
|
|
||||||
|
10
livecd.sh
10
livecd.sh
@ -356,7 +356,15 @@ deb-src ${SECSRCMIRROR} ${STE}-security ${COMP}
|
|||||||
|
|
||||||
livefs_squash()
|
livefs_squash()
|
||||||
{
|
{
|
||||||
mksquashfs ${ROOT} livecd.${FS}.squashfs
|
$squashsort="http://people.ubuntu.com/~tfheen/livesort/${FS}.list.${ARCH}"
|
||||||
|
if wget -O livecd.${FS}.sort ${squashsort} > /dev/null 2>&1; then
|
||||||
|
echo "Using the squashfs sort list from ${squashsort}."
|
||||||
|
else
|
||||||
|
echo "Unable to fetch squashfs sort list; using a blank list."
|
||||||
|
: > livecd.${FS}.sort
|
||||||
|
fi
|
||||||
|
|
||||||
|
mksquashfs -sort livecd.${FS}.sort ${ROOT} livecd.${FS}.squashfs
|
||||||
chmod 644 livecd.${FS}.squashfs
|
chmod 644 livecd.${FS}.squashfs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user