[Dextrose] [PATCH v2 dextrose 3/3] Add configs for building a non-XO x86 PC image
Sascha Silbe
silbe at activitycentral.com
Mon Mar 5 13:31:37 EST 2012
An image that can boot in a VM is useful for testing and debugging.
While it's not working perfectly (OLPC OS is tuned towards XOs quite a
lot and doesn't really expect anything in a few spots), it's good enough
for testing.
Example invocation for KVM (after extracting *.zd.disk.img.tar.gz):
kvm -name dx3-test -m 512 -vga std \
-drive file=dx3pc-ng111.zd.disk.img,if=virtio,boot=on -net nic -net user
Signed-off-by: Sascha Silbe <silbe at activitycentral.com>
---
v1->v2: add rationale and example invocation to config, as suggested by
bernie
config/dextrose3-pc-common.ini | 35 +++++++++++++++++++++++++++++++++++
config/dextrose3-pc-nognome.ini | 22 ++++++++++++++++++++++
2 files changed, 57 insertions(+), 0 deletions(-)
create mode 100644 config/dextrose3-pc-common.ini
create mode 100644 config/dextrose3-pc-nognome.ini
diff --git a/config/dextrose3-pc-common.ini b/config/dextrose3-pc-common.ini
new file mode 100644
index 0000000..ded3b75
--- /dev/null
+++ b/config/dextrose3-pc-common.ini
@@ -0,0 +1,35 @@
+[DEFAULT]
+dx3_pc_add_packages=kernel-PAE,grub
+
+[global]
+target_platform=PC
+
+[powerd]
+enable_idle_suspend=0
+
+[sd_card_image]
+; 4GB image
+size_1=3865470566
+keep_disk_image=1
+compress_disk_image=1
+make_zd=0
+install_grub=1
+
+[repos]
+fedora_arch=i386
+olpc_frozen_2=0,koji.dist-f14-i686
+olpc_frozen_3=0,koji.dist-f14-i686-updates-11.3.1
+;olpc_frozen_4=1,local.11.3.1-xo1.5
+add_excludes_to=koji.dist-f14-i686,koji.dist-f14-i686-updates-11.3.1
+custom_repo_1=1,dextrose,http://download.sugarlabs.org/dextrose/testing/dx3/rpms/i386/os
+custom_repo_2=1,dextrose-freeworld,http://download.sugarlabs.org/dextrose/testing/dx3/rpms-freeworld/i386/os
+custom_repo_3=1,dextrose-next,http://download.sugarlabs.org/dextrose/testing/dx3/rpms-next/i386/os
+
+;olpc_publicrpms_2=1,f14-xo1.5
+
+[yumcfg]
+addrepo_2=1,dextrose,http://download.sugarlabs.org/dextrose/testing/dx3/rpms/i386/os
+addrepo_3=1,dextrose-freeworld,http://download.sugarlabs.org/dextrose/testing/dx3/rpms-freeworld/i386/os
+addrepo_4=1,dextrose-next,http://download.sugarlabs.org/dextrose/testing/dx3/rpms-next/i386/os
+force_enable=fedora-updates-testing
+add_excludes_to=fedora,fedora-updates,fedora-updates-testing
diff --git a/config/dextrose3-pc-nognome.ini b/config/dextrose3-pc-nognome.ini
new file mode 100644
index 0000000..aed357e
--- /dev/null
+++ b/config/dextrose3-pc-nognome.ini
@@ -0,0 +1,22 @@
+; Dextrose 3 for x86 PCs (International without GNOME)
+;
+; Especially useful for testing and debugging Dextrose in a VM.
+; While it's not working perfectly (OLPC OS is tuned towards XOs quite a
+; lot and doesn't really expect anything in a few spots), it's good enough
+; for testing.
+
+; Example invocation for KVM (after extracting *.zd.disk.img.tar.gz):
+
+; kvm -name dx3-test -m 512 -vga std -drive file=dx3pc-ng111.zd.disk.img,if=virtio,boot=on -net nic -net user
+
+
+[global]
+include=dextrose3-common.ini,dextrose3-pc-common.ini
+customization_info=Dextrose 3 International
+image_name=dx3pc-ng%%03d
+langs=%(dx3_common_langs)s
+modules=%(dx3_common_modules)s
+
+[custom_packages]
+add_packages=%(dx3_common_packages_add)s,
+ %(dx3_pc_add_packages)s
--
1.7.9
More information about the Dextrose
mailing list