Ability to run rootstock in a ARM machine without using qemu

Bug #589104 reported by Konstantinos Margaritis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RootStock
Fix Released
Medium
Ricardo Salveti

Bug Description

Please find attached a modified rootstock script to enable native builds -ie without the use of qemu.
There are a few differences in this from the original:

1. Instead of a VM, the installer script is passed to a chroot command
2. No swap is setup
3. No network is configured in the chroot
4. All mountpoints have to be unmounted before exiting from the mountpoint

There is an issue right now, when building ubuntu-minimal, that prevents

Related branches

Revision history for this message
Konstantinos Margaritis (markos-debian-org) wrote :
Revision history for this message
Arvind Singh (aaroh) wrote :

I tried it with this command,

sudo ./rootstock-native --fqdn beagle --login ubuntu --password temppwd --imagesize 2G --components "main,universe,multiverse" --seed openssh-server,build-essential,apache2,postgresql-server-dev-8.4,postgresql-contrib-8.4 --dist lucid --serial ttyS2 --kernel-image http://rcn-ee.net/deb/kernel/beagle/lucid/v2.6.32.11-l13/linux-image-2.6.32.11-l13_1.0lucid_armel.deb

I get this error:

I: Creating temporary Image
I: Mounting temporary Image
I: Running first stage
I: Retrieving Release
I: Retrieving Packages
I: Retrieving Packages
I: Retrieving Packages
E: Couldn't download dists/lucid/main/binary-i386/Packages
I: First stage install done
./rootstock-native: line 459: /tmp/tmp.VqJQ4DKLPD/tmpmount/etc/fstab: No such file or directory

Revision history for this message
Konstantinos Margaritis (markos-debian-org) wrote :

uhm, seems you ran it on a i386 box... or am I mistaken?

Revision history for this message
Robert Nelson (robertcnelson) wrote :

Noticed a comment about this on #ubuntu-arm

Here's my tweaks to rootstock to do the same thing, allowing the same script to run on x86 and arm...

https://code.launchpad.net/~beagleboard-kernel/+junk/rootstock-on-arm-rc

I have been successful in getting images out of it:

http://elinux.org/Talk:BeagleBoardUbuntu#Broken:_Lucid_10.04_Xfce4

Regards,

summary: - rootstock-native script to use without qemu
+ Ability to run rootstock in a ARM machine without using qemu
Changed in project-rootstock:
milestone: none → 0.1.99.4
status: New → Fix Released
assignee: nobody → Ricardo Salveti (rsalveti)
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.