<div dir="ltr">With James kernel rpm, it seemed like a next step to make a ZD image.<div><br></div><div>The following were found to be necessary:</div><div><div>From bb527d3f0a5f22d93a9ebcba17f43fcf8c7b4d47 Mon Sep 17 00:00:00 2001</div><div>From: root <root@localhost.localdomain></div><div>Date: Sun, 7 Jun 2015 06:08:42 -0400</div><div>Subject: [PATCH] first build on fc22</div><div><br></div><div>---</div><div> modules/base/kspkglist.10.core.inc                | 2 --</div><div> modules/base/kspost.50.zip_bootfiles.nochroot.inc | 1 +</div><div> modules/gnome/kspkglist.50.gnome.inc              | 1 -</div><div> modules/mate/kspkglist.50.mate.inc                | 1 -</div><div> modules/sd_card_image/<a href="http://image.50.makefs.sh">image.50.makefs.sh</a>          | 2 +-</div><div> modules/sugar/kspkglist.50.sugar.inc              | 3 +--</div><div> modules/sugar/kspost.75.install_bundles.inc       | 2 +-</div><div> 7 files changed, 4 insertions(+), 8 deletions(-)</div><div><br></div><div>diff --git a/modules/base/kspkglist.10.core.inc b/modules/base/kspkglist.10.core.inc</div><div>index ef16a65..17057a5 100644</div><div>--- a/modules/base/kspkglist.10.core.inc</div><div>+++ b/modules/base/kspkglist.10.core.inc</div><div>@@ -35,8 +35,6 @@ olpc-kbdshim</div><div> xorg-x11-server-Xorg</div><div> xorg-x11-drv-fbdev</div><div> xorg-x11-drv-evdev</div><div>-xorg-x11-drv-keyboard</div><div>-xorg-x11-drv-mouse</div><div> xorg-x11-utils</div><div> xorg-x11-xinit</div><div> xorg-x11-xauth</div><div>diff --git a/modules/base/kspost.50.zip_bootfiles.nochroot.inc b/modules/base/kspost.50.zip_bootfiles.nochroot.inc</div><div>index ad10e8a..c5abfb5 100644</div><div>--- a/modules/base/kspost.50.zip_bootfiles.nochroot.inc</div><div>+++ b/modules/base/kspost.50.zip_bootfiles.nochroot.inc</div><div>@@ -29,6 +29,7 @@ remove_original() {</div><div> <span class="" style="white-space:pre">       </span>local name=$1</div><div> </div><div> <span class="" style="white-space:pre">   </span>cd $INSTALL_ROOT/boot</div><div>+</div><div> <span class="" style="white-space:pre">    </span>[ -e "$name" ] || return</div><div> </div><div> <span class="" style="white-space:pre">      </span>if [ -L "$name" ]; then</div><div>diff --git a/modules/gnome/kspkglist.50.gnome.inc b/modules/gnome/kspkglist.50.gnome.inc</div><div>index 1398dc8..ed63923 100644</div><div>--- a/modules/gnome/kspkglist.50.gnome.inc</div><div>+++ b/modules/gnome/kspkglist.50.gnome.inc</div><div>@@ -31,7 +31,6 @@ gimp</div><div> # audio & video</div><div> audacity</div><div> totem</div><div>-totem-mozplugin</div><div> </div><div> # more desktop stuff</div><div> file-roller</div><div>diff --git a/modules/mate/kspkglist.50.mate.inc b/modules/mate/kspkglist.50.mate.inc</div><div>index 8e4fd0c..56c3d04 100644</div><div>--- a/modules/mate/kspkglist.50.mate.inc</div><div>+++ b/modules/mate/kspkglist.50.mate.inc</div><div>@@ -31,7 +31,6 @@ gimp</div><div> # audio & video</div><div> audacity</div><div> totem</div><div>-totem-mozplugin</div><div> </div><div> # more desktop stuff</div><div> file-roller</div><div>diff --git a/modules/sd_card_image/<a href="http://image.50.makefs.sh">image.50.makefs.sh</a> b/modules/sd_card_image/<a href="http://image.50.makefs.sh">image.50.makefs.sh</a></div><div>index 0fd57c6..5b1c954 100644</div><div>--- a/modules/sd_card_image/<a href="http://image.50.makefs.sh">image.50.makefs.sh</a></div><div>+++ b/modules/sd_card_image/<a href="http://image.50.makefs.sh">image.50.makefs.sh</a></div><div>@@ -63,7 +63,7 @@ make_image()</div><div> </div><div> <span class="" style="white-space:pre"> </span>dd if=/dev/zero of=$img bs=$BLOCK_SIZE count=0 seek=$(($image_size / $BLOCK_SIZE))</div><div> </div><div>-<span class="" style="white-space:pre">       </span>/sbin/sfdisk -S 32 -H 32 --force -uS $img <<EOF</div><div>+<span class="" style="white-space:pre">     </span>/sbin/sfdisk  --force -uS $img <<EOF</div><div> 8192,131072,83,*</div><div> $ROOT_PARTITION_START_BLOCK,,,</div><div> EOF</div><div>diff --git a/modules/sugar/kspkglist.50.sugar.inc b/modules/sugar/kspkglist.50.sugar.inc</div><div>index aaefe06..9438808 100644</div><div>--- a/modules/sugar/kspkglist.50.sugar.inc</div><div>+++ b/modules/sugar/kspkglist.50.sugar.inc</div><div>@@ -43,7 +43,6 @@ mobile-broadband-provider-info</div><div> </div><div> # Browse</div><div> gnash-plugin</div><div>-totem-mozplugin</div><div> </div><div> # Record, Measure, and Jukebox</div><div> gstreamer-python</div><div>@@ -54,7 +53,7 @@ python-simplejson</div><div> </div><div> # dependencies for Epub support in Read</div><div> python-BeautifulSoup</div><div>-olpc-library</div><div>+#olpc-library</div><div> </div><div> # for Tuxmath activity</div><div> SDL_Pango</div><div>diff --git a/modules/sugar/kspost.75.install_bundles.inc b/modules/sugar/kspost.75.install_bundles.inc</div><div>index 367a93e..7932adf 100644</div><div>--- a/modules/sugar/kspost.75.install_bundles.inc</div><div>+++ b/modules/sugar/kspost.75.install_bundles.inc</div><div>@@ -10,6 +10,6 @@ for i in /build_shared/sugar-bundles/*; do</div><div> <span class="" style="white-space:pre">        </span>fi</div><div> done</div><div> shopt -u nullglob</div><div>-/bin/su -c "/bin/olpc-library-update" - olpc > /dev/null</div><div>+#/bin/su -c "/bin/olpc-library-update" - olpc > /dev/null</div><div> </div><div> chown -R olpc:olpc /home/olpc/{Activities,Library}</div><div>-- </div><div>2.4.2</div><div><br></div></div><div>And I put the kernel in a local repo:</div><div>Kernel is at <a href="http://dev.laptop.org/~quozl/kernel-4.1.0_rc6_xo1.5-20150604.1436.olpc.3e60eda.i686.rpm">http://dev.laptop.org/~quozl/kernel-4.1.0_rc6_xo1.5-20150604.1436.olpc.3e60eda.i686.rpm</a></div><div><br></div><div>My os.ini file was </div><div><div>[global]</div><div>suggested_oob_version=7.0</div><div>fedora_release=22</div><div>fedora_arch=i386</div><div>olpc_version_major=15</div><div>olpc_version_minor=1</div><div>olpc_version_release=0</div><div>target_platform=XO-1.5</div><div>langs=en_US,en_AU,es,ar,pt,pt_BR,fr,ht,mn,mr_IN,am_ET,km_KH,ne_NP,ur_PK,rw,ps,fa_AF,si,zh_CN,de,hy</div><div>customization_tag=XS</div><div>customization_info="xsce_build"</div><div><br></div><div>[base]</div><div><br></div><div>[xo1_5]</div><div><br></div><div>[sd_card_image]</div><div><br></div><div>[usb_update]</div><div><br></div><div>[repos]</div><div>fedora=fedora,fedora-updates,fedora-updates-testing</div><div>olpc_publicrpms_1=1,f20</div><div>olpc_publicrpms_2=1,f20-xo1.5</div><div>custom_repo_13=1,f22-xo1.5,<a href="http://10.4.75.11/fedora/22/">http://10.4.75.11/fedora/22/</a></div><div>#add_excludes_to=fedora,fedora-updates,fedora-updates-testing</div><div><br></div><div>[yumcfg]</div><div>addrepo_1=1,olpc-f20,<a href="http://rpmdropbox.laptop.org/f20/">http://rpmdropbox.laptop.org/f20/</a></div><div>addrepo_2=1,olpc-f20-xo1.5,<a href="http://rpmdropbox.laptop.org/f20-xo1.5/">http://rpmdropbox.laptop.org/f20-xo1.5/</a></div><div>#add_excludes_to=fedora,fedora-updates,fedora-updates-testing</div><div><br></div><div>[x11]</div><div><br></div><div>[mate]</div><div><br></div><div>[sugar]</div><div>favorites_view_add=</div><div><span class="" style="white-space:pre">   </span>org.laptop.Terminal,</div><div><span class="" style="white-space:pre">       </span>org.laptop.Log,</div><div><span class="" style="white-space:pre">    </span>org.laptop.WebActivity,</div><div>favorites_view_del=</div><div><span class="" style="white-space:pre">  </span>org.laptop.sugar.ReadActivity,</div><div><span class="" style="white-space:pre">     </span>org.laptop.TamTamEdit,</div><div><span class="" style="white-space:pre">     </span>org.laptop.TamTamSynthLab</div><div>protected_activities=</div><div><span class="" style="white-space:pre">      </span>org.laptop.WebActivity,</div><div><span class="" style="white-space:pre">    </span>org.laptop.Terminal,</div><div><span class="" style="white-space:pre">       </span>org.laptop.Log,</div><div><span class="" style="white-space:pre">    </span>org.laptop.AbiWordActivity,</div><div><span class="" style="white-space:pre">        </span>org.laptop.sugar.ReadActivity,</div><div><span class="" style="white-space:pre">     </span>org.laptop.ImageViewerActivity,</div><div><span class="" style="white-space:pre">    </span>org.laptop.RecordActivity</div><div><br></div><div>[sugar_welcome_activity]</div><div><br></div><div>[sugar_activity_group]</div><div>url=<a href="http://wiki.laptop.org/go/Activities/Minimal/14.1.0">http://wiki.laptop.org/go/Activities/Minimal/14.1.0</a></div><div><br></div><div>[buildnr_from_file]</div><div>path=latestbuild</div></div><div><br></div><div>I put the image on a 16GB SD and it booted. Lots of problems. But basic function. The libertas firmware v8 was not enough to get wifi up and running.</div><div><br></div></div>