Commit 031e9a9b authored by Radek Polak's avatar Radek Polak

qtmoko-chroot.sh - rename to armel and armhf so that you can have 2 chroots

parent d14d628a
......@@ -17,7 +17,7 @@ git submodule update
* Create and enter debian chroot:
sudo scripts/qtmoko-chroot.sh
sudo scripts/qtmoko-chroot-armhf.sh
* Build it:
......@@ -153,7 +153,7 @@ PC build
* Create and enter debian chroot:
sudo scripts/qtmoko-chroot.sh
sudo scripts/qtmoko-chroot-armhf.sh
mkdir -p /root/qte/build-pc
cd /root/qte/build-pc
......
......@@ -4,11 +4,11 @@
# set -o verbose
# We will use ext4 image for chroot
if [ ! -e ../qtmoko-chroot.img ]
if [ ! -e ../qtmoko-chroot-armel.img ]
then
echo "Creating chroot-build ext4 image"
dd if=/dev/zero of=../qtmoko-chroot.img bs=1024 count=3145728
mkfs.ext4 ../qtmoko-chroot.img
dd if=/dev/zero of=../qtmoko-chroot-armel.img bs=1024 count=3145728
mkfs.ext4 ../qtmoko-chroot-armel.img
fi
# Directory for chroot mount
......@@ -21,7 +21,7 @@ fi
if [ ! -d ../qtmoko-chroot/bin ]
then
echo "Mounting image"
mount -o loop ../qtmoko-chroot.img ../qtmoko-chroot
mount -o loop ../qtmoko-chroot-armel.img ../qtmoko-chroot
fi
# Install squeeze rootfs if not installed yet
......
......@@ -4,11 +4,11 @@
# set -o verbose
# We will use ext4 image for chroot
if [ ! -e ../qtmoko-chroot.img ]
if [ ! -e ../qtmoko-chroot-armhf.img ]
then
echo "Creating chroot-build ext4 image"
dd if=/dev/zero of=../qtmoko-chroot.img bs=1024 count=3145728
mkfs.ext4 ../qtmoko-chroot.img
dd if=/dev/zero of=../qtmoko-chroot-armhf.img bs=1024 count=3145728
mkfs.ext4 ../qtmoko-chroot-armhf.img
fi
# Directory for chroot mount
......@@ -21,7 +21,7 @@ fi
if [ ! -d ../qtmoko-chroot/bin ]
then
echo "Mounting image"
mount -o loop ../qtmoko-chroot.img ../qtmoko-chroot
mount -o loop ../qtmoko-chroot-armhf.img ../qtmoko-chroot
fi
# Install squeeze rootfs if not installed yet
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment