mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-09 00:51:36 +00:00
Import patches-unapplied version 2.124 to ubuntu/raring-proposed
Imported using git-ubuntu import. Changelog parent: fdf09ef826d9f9e4c3a9fa8e509a40bafe98e579 New changelog entries: * drop the namespace in mount options of ubuntu-touch-android.sh, mount does not like that * actually give chroot a rootdir when calling it * make sure /dev/pts exists in the chroot before mounting something on it * make umount lazy
This commit is contained in:
parent
fdf09ef826
commit
65b7f7a10a
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -1,3 +1,13 @@
|
|||||||
|
livecd-rootfs (2.124) raring; urgency=low
|
||||||
|
|
||||||
|
* drop the namespace in mount options of ubuntu-touch-android.sh,
|
||||||
|
mount does not like that
|
||||||
|
* actually give chroot a rootdir when calling it
|
||||||
|
* make sure /dev/pts exists in the chroot before mounting something on it
|
||||||
|
* make umount lazy
|
||||||
|
|
||||||
|
-- Oliver Grawert <ogra@ubuntu.com> Tue, 16 Apr 2013 13:53:53 +0200
|
||||||
|
|
||||||
livecd-rootfs (2.123) raring; urgency=low
|
livecd-rootfs (2.123) raring; urgency=low
|
||||||
|
|
||||||
* fix typos in debootstrap line of ubuntu-touch-android.sh
|
* fix typos in debootstrap line of ubuntu-touch-android.sh
|
||||||
|
@ -19,9 +19,10 @@ case $(hostname --fqdn) in
|
|||||||
esac
|
esac
|
||||||
debootstrap --components=main,universe $release $builddir $MIRROR
|
debootstrap --components=main,universe $release $builddir $MIRROR
|
||||||
|
|
||||||
mount -t devpts devpts-$builddir $builddir/dev/pts
|
mkdir -p $builddir/dev/pts
|
||||||
chroot mount -t proc proc-$builddir /proc
|
mount -t devpts devpts $builddir/dev/pts
|
||||||
chroot mount -t sysfs sys-$builddir /sys
|
chroot $builddir mount -t proc proc /proc
|
||||||
|
chroot $builddir mount -t sysfs sys /sys
|
||||||
|
|
||||||
# set up multiarch inside the chroot
|
# set up multiarch inside the chroot
|
||||||
chroot $builddir dpkg --add-architecture i386
|
chroot $builddir dpkg --add-architecture i386
|
||||||
@ -55,8 +56,8 @@ for image in system recovery boot; do
|
|||||||
cp $builddir/$builddir/out/target/product/$codename/$image.img ./livecd.ubuntu-touch-$codename.$image.img
|
cp $builddir/$builddir/out/target/product/$codename/$image.img ./livecd.ubuntu-touch-$codename.$image.img
|
||||||
done
|
done
|
||||||
|
|
||||||
umount $builddir/sys
|
umount -l $builddir/sys
|
||||||
umount $builddir/proc
|
umount -l $builddir/proc
|
||||||
umount $builddir/dev/pts
|
umount -l $builddir/dev/pts
|
||||||
|
|
||||||
rm -rf $builddir
|
rm -rf $builddir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user