Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Ubuntu 12.04 Multiarch

326 bytes added, 13:08, 20 May 2014
Host Configuration
mcaro@mcaro-vm-u12:/etc/dpkg/dpkg.cfg.d$ cat multiarch
foreign-architecture armhf
</pre><div>Now we're ready for modify the apt repo sources for our wished new architecture, you should edit the file /etc/apt/sources.list and change the repositories as (I left here a sources.list sample file)If we want to set any repository you must add the tags: [arch=i386] intel 32 bits[arch=armel] ARM soft float 32 bits[arch=armhf] ARM hard float 32 bitsor both:[arch=armel,armhf] ARM soft/hard float repo 32 bitsThe sources repositories not need to be tagged due sources repositories be the same for all architectures.</div><pre># deb cdrom:[Ubuntu 12.04.4 LTS _Precise Pangolin_ - Release i386 (20140204)]/ precise main restricted 
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb [arch=i386] http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
</pre>
</pre><div>Take a note, the src packages be common for all architectures and it's not necessary to set the architecture.</div><div>We add the tags [arch=i386] or [arch=armhf] or if any repo provide more &nbsp;[arch=armel,armhf]You should add your whised repositories there ...</div><div></div>