Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEPv5 Ubuntu Distro

549 bytes added, 16:57, 9 March 2014
Pbuilder
=== Pbuilder ===
A [https://wiki.ubuntu.com/PbuilderHowto pbuilder] environment is a chrooted environment which can have a different distroseries or architecture than your host system.
<pre>sudo apt-get install pbuilder pbuilder-scripts</pre>
'''What can I do?'''
pbuilder is used for create your own ubuntu/debian based distribution or build your own debian/ubuntu packages.
Setup, the basic setup is create in your home base directory a new file called .pbuilderrc inside you should copy this content:
<pre>BINDMOUNTS="${BINDMOUNTS} /home/&lt;your_user&gt;/Projects"
EXTRAPACKAGES="${EXTRAPACKAGES} pbuilder devscripts gnupg patchutils vim-tiny openssh-client"</pre>And just remember create the directory Projects before start.Now if you want to create a new rootfs, you can try to build with
<pre>cd ~/Projects
pcreate -a armhf -d precise precise-armhf</pre>The first time the program will ask you about install some dependencies
<pre>Installing qemu-user-static for armhf-on-x86 support (natty or later)
Reading package lists... Done
Need to get 12.9 MB of archives.
After this operation, 33.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? </pre>You should say, Y (yes)After build (it can take some time) you will get your rootfs (ARM Hard float) in /var/cache/pbuilder/ directory Now it time to test your new rootfs First create a new directory in your home:<pre>$ mkdir -p rootfs/armhf_12.04.4</pre>Now untar the generated file:<pre>$ cd ~/rootfs/armhf_12.04.4 $ sudo tar xvfz /var/cache/pbuilder/precise-armhf.tgz</pre>Now copy the qemu-arm-static file into usr/bin directory<pre>$ sudo cp /usr/bin/qemu-arm-static usr/bin</pre>And now chroot it as<pre>$ cd .. $ sudo chroot armhf_12.04.4</pre>Check if all is ok with:<pre>$ arch armv7l</pre>Now you've in a chroot armhf emulation your rootfs ... &nbsp;
= Install Ubuntu 12.04.4 LTS (HF) in the IGEPv5 =