mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-11 02:41:33 +00:00
Add manifest
This commit is contained in:
parent
0e90703574
commit
d2e5a85da8
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
livecd-rootfs (0.3) hoary; urgency=low
|
||||||
|
|
||||||
|
* add manifest file
|
||||||
|
|
||||||
|
-- LaMont Jones <lamont@debian.org> Sun, 9 Jan 2005 13:27:07 -0700
|
||||||
|
|
||||||
livecd-rootfs (0.2) hoary; urgency=low
|
livecd-rootfs (0.2) hoary; urgency=low
|
||||||
|
|
||||||
* Better divertion setup, fix sources.list
|
* Better divertion setup, fix sources.list
|
||||||
|
17
livecd.sh
17
livecd.sh
@ -97,22 +97,23 @@ mount -tproc none ${ROOT}proc
|
|||||||
cp ${ROOT}etc/apt/trusted.gpg ${ROOT}etc/apt/trusted.gpg.$$
|
cp ${ROOT}etc/apt/trusted.gpg ${ROOT}etc/apt/trusted.gpg.$$
|
||||||
cat /etc/apt/trusted.gpg >> ${ROOT}etc/apt/trusted.gpg
|
cat /etc/apt/trusted.gpg >> ${ROOT}etc/apt/trusted.gpg
|
||||||
|
|
||||||
|
OTHER="xresprobe laptop-detect"
|
||||||
case $(dpkg --print-architecture) in
|
case $(dpkg --print-architecture) in
|
||||||
amd64) KERNEL="linux-amd64-generic";;
|
amd64) OTHER="$OTHER linux-amd64-generic";;
|
||||||
i386) KERNEL=linux-386;;
|
i386) OTHER="$OTHER linux-386";;
|
||||||
ia64) KERNEL="linux-itanium-smp linux-mckinley-smp";;
|
ia64) OTHER="$OTHER linux-itanium-smp linux-mckinley-smp";;
|
||||||
powerpc) KERNEL="linux-powerpc linux-power3 linux-power4";;
|
powerpc) OTHER="$OTHER linux-powerpc linux-power3 linux-power4";;
|
||||||
|
|
||||||
# and the bastard stepchildren
|
# and the bastard stepchildren
|
||||||
hppa) KERNEL="linux-hppa32 linux-hppa64";;
|
hppa) OTHER="$OTHER linux-hppa32-smp linux-hppa64-smp";;
|
||||||
sparc*) KERNEL="linux-sparc64";;
|
sparc*) OTHER="$OTHER linux-sparc64";;
|
||||||
*) echo "Unknown architecture: no kernel."; exit 1;;
|
*) echo "Unknown architecture: no kernel."; exit 1;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Create a good sources.list, and finish the install
|
# Create a good sources.list, and finish the install
|
||||||
echo deb $MIRROR $STE main restricted > ${ROOT}etc/apt/sources.list
|
echo deb $MIRROR $STE main restricted > ${ROOT}etc/apt/sources.list
|
||||||
chroot $ROOT apt-get update
|
chroot $ROOT apt-get update
|
||||||
chroot $ROOT apt-get -y install ubuntu-base ubuntu-desktop $KERNEL </dev/null
|
chroot $ROOT apt-get -y install ubuntu-base ubuntu-desktop $OTHER </dev/null
|
||||||
chroot $ROOT /etc/cron.daily/slocate
|
chroot $ROOT /etc/cron.daily/slocate
|
||||||
chroot $ROOT /etc/cron.daily/man-db
|
chroot $ROOT /etc/cron.daily/man-db
|
||||||
|
|
||||||
@ -167,3 +168,5 @@ mount $DEV livecd.mnt
|
|||||||
rsync -a ${ROOT} livecd.mnt
|
rsync -a ${ROOT} livecd.mnt
|
||||||
|
|
||||||
create_compressed_fs $IMG 65536 > livecd.cloop
|
create_compressed_fs $IMG 65536 > livecd.cloop
|
||||||
|
chroot ${ROOT} dpkg-query -W --showformat='${Package} ${Version}\n' > livecd.manifest
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user