[PATCH] Add support for lpia arch

2009-03-25 Thread Cody A.W. Somerville
now I'd be happy to try and address them. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.somervi...@canonical.com diff --git a/debian/cha

[PATCH] Check for installer README.html to prevent build failure

2009-03-26 Thread Cody A.W. Somerville
odify it. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.somervi...@canonical.com diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_inc

[PATCH] Do not fail build when greps to generate udeb exclusion list return no results or grepped files do not exist

2009-04-07 Thread Cody A.W. Somerville
atch to correct the issue. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.somervi...@canonical.com === modified file 'helpers/lh_bin

[PATCH] Added Ubuntu mode.

2009-04-15 Thread Cody A.W. Somerville
ll be sending in a patch shortly if this one is accepted to address this. If you have any questions, comments, or concerns then please feel free to shoot them my way. :) Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical O

Re: [PATCH] Added Ubuntu mode.

2009-04-15 Thread Cody A.W. Somerville
Hi Daniel, On Wed, Apr 15, 2009 at 10:25 AM, Daniel Baumann wrote: > Cody A.W. Somerville wrote: > > Hello Folks, > > Hi, > > generellay everything fine, just a few cosmetic issues.. > > Thanks for the quick review. I've made all the changes you suggested as w

[PATCH] Unmount all mounts in chroot

2009-04-15 Thread Cody A.W. Somerville
Hello, As discussed on IRC earlier, here is a patch that removes the hard coded calls to umount in functions/exit.sh and instead looks at /proc/mounts to determine all active mounts within a chroot and attempts to umount each one. Cheers, -- Cody A.W. Somerville Software Systems Release

Re: [PATCH] Add support for lpia arch

2009-04-15 Thread Cody A.W. Somerville
On Wed, Apr 15, 2009 at 5:18 PM, Daniel Baumann wrote: > > rest looks ok, however, please have a look at it again now that the > ubuntu mode is included. Refreshed the patch and made recommended changes. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundat

[PATCH] Correctly set default categories for Ubuntu

2009-04-17 Thread Cody A.W. Somerville
official Ubuntu CD builds. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.somervi...@canonical.com From 1744de7713f03f47d72031e3fe66c138a08e69a9 Mon

[PATCH] Change format of packages.txt/binary.packages to be machine readable

2009-04-21 Thread Cody A.W. Somerville
ich is why I've created a patch to have the output of "dpkg-query -W" which format, by default, is "${Package}\t${Version}\n". Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services

Re: [PATCH] Change format of packages.txt/binary.packages to be machine readable

2009-04-21 Thread Cody A.W. Somerville
Hello, On Tue, Apr 21, 2009 at 1:39 PM, Cody A.W. Somerville < cody.somervi...@canonical.com> wrote: > Hello, > > For most binary image types, live helper produces a packages.txt (in the > image) and binary.packages (outside of the image) that is just the output of > &qu

Re: [PATCH] Change format of packages.txt/binary.packages to be machine readable

2009-04-22 Thread Cody A.W. Somerville
On Wed, Apr 22, 2009 at 9:23 AM, Daniel Baumann wrote: > Cody A.W. Somerville wrote: > > I've updated the patch to remove some descriptive text that was being > > added to file and also name the copy outside of the image > > binary.manifest instead of binary.packag

[PATCH] Add support for mode templates

2009-04-23 Thread Cody A.W. Somerville
$(DESTDIR)/usr/share/doc/live-helper 4. Now we need templates for Ubuntu, so copy debian to ubuntu in templates/. I can't seem to get git to bend to my will this morning so if the above sounds good and you commit the changes, I'll send in a patch with the changes for the default Ubunt

Re: Ubuntu mode hangs at "configuring network interfaces"

2009-05-08 Thread Cody A.W. Somerville
untu --tasks "standard ubuntu-desktop" -d jaunty lh_build > Tks for any reply. > > Luigi Capriotti > Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.somervi...@canonical.com

Re: Ubuntu

2009-05-13 Thread Cody A.W. Somerville
. > David > You can file a bug at https://bugs.edge.launchpad.net/ubuntu/+source/live-helper if you're motivated to do so. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2

Re: Some d-i errors

2009-05-13 Thread Cody A.W. Somerville
On Sun, May 3, 2009 at 5:11 PM, Schoap D wrote: > > > I'm wondering if it is possible to set gtk 'off'? > Thats unfortunately not currently possible. I'll however write up a patch for this when I get a chance. Cheers, -- Cody A.W. Somerville Software Systems R

[PATCH] Fix LH_BOOTAPPEND_INSTALL issues for Ubuntu based builds

2009-05-27 Thread Cody A.W. Somerville
Hello, I've created a patch to fix a regression I introduced for builds using the Ubuntu mode that would result in LH_BOOTAPPEND_INSTALL option being set incorrectly and to set _LH_BOOTAPPEND_PRESEED correctly for Ubuntu USB-HDD builds. Cheers, -- Cody A.W. Somerville Software Systems Re

[PATCH] Respect APT/APTITUDE options in functions/packages.sh

2009-06-02 Thread Cody A.W. Somerville
Hello, This patch updates functions/packages.sh to respect APT_OPTIONS and APTITUDE_OPTIONS which are set in common configuration file. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781

Re: [PATCH] Unmount all mounts in chroot

2009-06-02 Thread Cody A.W. Somerville
Hello, I've attached a patch that looks for ${PWD}/chroot/ instead of just /chroot/. Kudos to kelmo for helping with the awk foo. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850

Re: [PATCH] Respect APT/APTITUDE options in functions/packages.sh

2009-06-02 Thread Cody A.W. Somerville
Hello, On Tue, Jun 2, 2009 at 4:52 PM, Daniel Baumann wrote: > Cody A.W. Somerville wrote: > > This patch updates functions/packages.sh to respect APT_OPTIONS and > > APTITUDE_OPTIONS which are set in common configuration file. > > what's the use case for this? &g

[PATCH] Cleanup of lh_config manpage

2009-06-05 Thread Cody A.W. Somerville
Hello, Please find attached a patch to fix a small handful of formatting issues with the lh_config manpage, update it to reflect the addition of the ubuntu mode, and add in new content to get rid of all the FIXMEs. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations

[PATCH] Simplify template precedence

2009-06-05 Thread Cody A.W. Somerville
file much easier to read/understand plus I was personally surprised it didn't already work like this. templates.sh | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering

Re: [PATCH] Simplify template precedence

2009-06-05 Thread Cody A.W. Somerville
Apologizes, I had a typo in my previous patch. Please see the attachment to this e-mail for the correct version of patch. templates.sh | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) On Fri, Jun 5, 2009 at 2:41 PM, Cody A.W. Somerville < cody.somervi...@canonical.

[PATCH] Fix build failure in lh_binary_syslinux that occurs if exithelp.cfg does not exist

2009-06-05 Thread Cody A.W. Somerville
.cfg/syslinux.cfg/' ${SYSLINUX_PATH}/exithelp.cfg +   fi     # Syslinux v3.31 in etch does not support include statements     if [ "${LH_DISTRIBUTION}" = "etch" ] Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering S

Re: [PATCH] Cleanup of lh_config manpage

2009-06-15 Thread Cody A.W. Somerville
format might help prevent further mistakes in the future. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.somervi...@canonical.com

[PATCH] Yet another patch fixing LH_BOOTAPPEND_INSTALL

2009-06-25 Thread Cody A.W. Somerville
Hello, It appears that I've been a little sloppy when it comes to LH_BOOTAPPEND_INSTALL in functions/defaults.sh; my sincerest apologizes. Please review the attached patch for acceptance to hopefully fix LH_BOOTAPPEND_INSTALL for good. Cheers, -- Cody A.W. Somerville Software Systems Re

[PATCH] Fix setting of destination directory in lh_binary_debian-installer

2009-07-14 Thread Cody A.W. Somerville
*) + DESTDIR="binary/installer" + ;; esac # Set d-i image type Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Emai

Re: [PATCH] fix for ubuntu mode

2009-07-22 Thread Cody A.W. Somerville
have reported issues when installing ubuntu-standard but not a desktop task. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.somervi...@canonical.com

[PATCH] Generate /etc/initramfs-tools/conf.d/resume during install

2009-07-28 Thread Cody A.W. Somerville
ing a normal d-i install. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.somervi...@canonical.com diff -Nur a/live-installer.d/initramfs-tools b

Re: [PATCH] Generate /etc/initramfs-tools/conf.d/resume during install

2009-07-28 Thread Cody A.W. Somerville
of things that could be done to make the script look prettier. My original intent was to try and keep the code as close as possible to that of base-installer's. However, I certainly have no strong feelings about this and so I'm happy to make the requested changes; updated patch att

[PATCH] Fix build failure when retrying build at deconfiguring file /bin/hostname

2009-08-28 Thread Cody A.W. Somerville
ected. So, I've created a patch to have lh_chroot_hostname look to see if 'chroot/bin/hostname.orig' exists before attempting to move it to 'chroot/bin/hostname'. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Soluti

Re: [PATCH] Fix build failure when retrying build at deconfiguring file /bin/hostname

2009-08-28 Thread Cody A.W. Somerville
I forgot to include the patch, oops. On Fri, Aug 28, 2009 at 4:41 AM, Cody A.W. Somerville < cody.somervi...@canonical.com> wrote: > Hello, > > If you attempt a build and it fails for whatever reasons (say, a > configuration issue) and then you retry your build without calli

[PATCH] Add option to disable use of GTK debian-installer

2009-08-28 Thread Cody A.W. Somerville
for the necessary d-i files before adding boot options for the text and/or GUI frontends. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.some

[PATCH] Do not add boot options to bootloader that are unavailable

2009-08-28 Thread Cody A.W. Somerville
-- 3 files changed, 102 insertions(+), 32 deletions(-) As a side note, after looking at these scripts it looks like there is a lot of potential to reduce some code duplication and have a more standard experience between the three bootloaders. I'll see about tackling this in the near future. C

[PATCH] Lower tarball compression level

2009-09-07 Thread Cody A.W. Somerville
2m44.717s quicker to complete, 45mb larger tar.gz) On an ARMv7 Processor rev 1 (v7l), fast was 45 minutes faster than best for the same chroot directory. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phon

Re: [PATCH] Do not add boot options to bootloader that are unavailable

2009-09-07 Thread Cody A.W. Somerville
On Wed, Sep 2, 2009 at 2:43 AM, Daniel Baumann wrote: > Cody A.W. Somerville wrote: > > > As a part of this change, I updated lh_binary_grub and lh_binary_yaboot > > to create their entries in the same fashion lh_binary_syslinux does (see > > patch for details). &g

[PATCH] Fix for Ubuntu netboot image builds with d-i enabled

2009-09-09 Thread Cody A.W. Somerville
Hello, Please accept this patch to fix an issue with the formation of the URL used fetch d-i files for Ubuntu netboot build. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell

Re: [PATCH] Fix for Ubuntu netboot image builds with d-i enabled

2009-09-09 Thread Cody A.W. Somerville
On Wed, Sep 9, 2009 at 2:41 PM, Cody A.W. Somerville < cody.somervi...@canonical.com> wrote: > Hello, > > Please accept this patch to fix an issue with the formation of the URL used > fetch d-i files for Ubuntu netboot build. > Ooops. Sent the wrong version of the pa

Re: [PATCH] Fix for Ubuntu netboot image builds with d-i enabled

2009-09-09 Thread Cody A.W. Somerville
On Wed, Sep 9, 2009 at 3:15 PM, Cody A.W. Somerville < cody.somervi...@canonical.com> wrote: > > > On Wed, Sep 9, 2009 at 2:41 PM, Cody A.W. Somerville < > cody.somervi...@canonical.com> wrote: > >> Hello, >> >> Please accept this patch to fix an issu

[PATCH] Use relative paths to splash and vesamenu.c32 in isolinux/syslinux configuration

2009-11-08 Thread Cody A.W. Somerville
us to generate config files correctly we just need to place the files inside isolinux/syslinux's directory as the bootloader looks there for files given to it with a relative path. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solu

[PATCH] Expose build configuration during execution of chroot hooks

2009-11-08 Thread Cody A.W. Somerville
Hello, Please accept this simple patch that exposes build configuration to chroot hooks by copying the config directory to chroot/root/config and removing it before and after each hook is executed. This allows for smarter hooks that are configurable. Cheers, -- Cody A.W. Somerville Software

Re: [PATCH] Expose build configuration during execution of chroot hooks

2009-11-11 Thread Cody A.W. Somerville
Hello, On Sun, Nov 8, 2009 at 10:38 AM, Daniel Baumann wrote: > Cody A.W. Somerville wrote: > > Please accept this simple patch that exposes build configuration to > > chroot hooks by copying the config directory to chroot/root/config and > > removing it before and after

[PATCH] Add support for custom debian installer images mirror

2009-11-11 Thread Cody A.W. Somerville
Hello, Please accept this patch which adds a new option called 'LH_MIRROR_DEBIAN_INSTALLER'. If set, it overrides the URL used to fetch the d-i images/files providing support for easier use of custom debian installer images. Cheers, -- Cody A.W. Somerville Software Systems Releas

[PATCH] Omit numbering for first kernel and initrd installed into binary

2009-11-11 Thread Cody A.W. Somerville
g the ability to install multiple kernel images/initrds into the image. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.somervi...@canonical.com === mod

[PATCH] Fix intermittent truncating of filesystem

2009-11-11 Thread Cody A.W. Somerville
ystem getting corrupted due to being truncated. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.somervi...@canonical.com === modified file '

[PATCH] Add support for ubifs chroot filesystem

2009-11-11 Thread Cody A.W. Somerville
Hello, Please find attached a patch which adds support for ubifs choort filesystems. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-506-471-8402 Email: cody.somervi

[PATCH] Correct the LH_BOOTAPPEND_INSTALL default

2009-11-11 Thread Cody A.W. Somerville
was adding for you and add it yourself to LH_BOOTAPPEND_INSTALL in config/binary. It would be much more convenient if live-helper always automatically took care of this by always appending LH_BOOTAPPEND_INSTALL as necessary. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Founda

Re: E: Could not download file: lucid/main/installer-i386/current/images//cdrom/gtk/vmlinuz

2009-12-09 Thread Cody A.W. Somerville
kage for an ubuntu live iso? No. You'll need to disable the win32 loader. As for the 'E: Couldn't find package linux-image-2.6-486' error, looks like you need to change the linux kernel flavor to be be 'generic' instead of '486'. Cheers, -- Cody A.W. Somer

Re: laptop shutsdown when building iso

2009-12-14 Thread Cody A.W. Somerville
he same problem. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-613-401-5141 Email: cody.somervi...@canonical.com

[PATCH][live-installer] Run apt-get --yes autoremove in target after removing casper/live-initramfs

2009-12-16 Thread Cody A.W. Somerville
-- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087 Cell: +1-613-401-5141 Email: cody.somervi...@canonical.com diff -Nru live-installer-8/live-installer.d/remove-packages live-installer-8+net

[PATCH][live-installer] Detect resume partition and write it to configuration file

2009-12-16 Thread Cody A.W. Somerville
tools/conf.d/resume'. Basically, it makes hibernation work. This patch adds a dependency on di-utils (>=1.68) due to the use of the block-attr wrapper script. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM S

Re: [PATCH] Add support for custom debian installer images mirror

2009-12-17 Thread Cody A.W. Somerville
Hi Daniel, On Mon, Dec 14, 2009 at 5:08 AM, Daniel Baumann wrote: > Daniel Baumann wrote: > >> nice, thanks. could you please also add --mirror-debian-installer to >> lh_config and document it in the manpage of lh_config? >> > > ping Please find updated patch at

Re: [PATCH] Add support for ubifs chroot filesystem

2009-12-17 Thread Cody A.W. Somerville
Hi Daniel, On Thu, Nov 12, 2009 at 12:47 AM, Daniel Baumann wrote: > Cody A.W. Somerville wrote: > > Please find attached a patch which adds support for ubifs choort > > filesystems. > > nice, however, the patch doesn't respect using the cached bootstrap > chroot

[PATCH] Remove use of SysV sed flag '-E'

2009-12-17 Thread Cody A.W. Somerville
Hello, Please accept this patch which replaces the single use of the SysV sed flag '-E' with the good ol' regular '-r' flag so that live-helper continues to work with GNU sed 4.1.x instead of requiring 4.2.x. Cheers, -- Cody A.W. Somerville Software Systems Release

Bug#562114: Customized chroot must be restored for numerous binary helpers to work

2009-12-22 Thread Cody A.W. Somerville
l not contain the kernel(s)). Currently, this does not occur if the caching of the chroot is disabled or if the LH_CHROOT_FILESYSTEM is set to 'plain'. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Ser

Re: Ubuntu E: Couldn't find package linux-image-2.6-486

2010-01-12 Thread Cody A.W. Somerville
;ll be happy to do if I can figure out how to reproduce this issue. Can you tarball your config and send it to me? > Where should I report this issue and where can I see when it's fixed? > You can report this in the Debian Bug Tracker. Cheers, -- Cody A.W. Somerville Software Syst

[PATCH][live-installer] Restore support for casper

2010-01-12 Thread Cody A.W. Somerville
Hello, Please accept this patch to live-installer which re-adds support for casper making live-installer work on Ubuntu again. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850-2087

Re: [PATCH] Add support for custom debian installer images mirror

2010-02-22 Thread Cody A.W. Somerville
Hi Daniel, On Wed, Feb 17, 2010 at 6:55 AM, Daniel Baumann wrote: > On 12/17/2009 01:33 PM, Daniel Baumann wrote: > >> great, but could you please rebase it on current git, so that it's >> apply-able? >> > > ping. > Please find updated patch attach

Bug#572983: live-helper: Please add *-updates apt-lines when --mode ubuntu

2010-03-10 Thread Cody A.W. Somerville
Hello, You can add those yourself. Please refer to http://live.debian.net/manual/html/packages.html#package-sources for instructions on how to do so. Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1-781-850

Bug#572983: live-helper: Please add *-updates apt-lines when --mode ubuntu

2010-03-10 Thread Cody A.W. Somerville
Hi Daniel, On Wed, Mar 10, 2010 at 1:58 PM, Daniel Baumann wrote: > On 03/10/2010 04:56 PM, Cody A.W. Somerville wrote: > >> You can add those yourself. Please refer to >> http://live.debian.net/manual/html/packages.html#package-sources for >> instructions on how to do

[PATCH] Don't download packages for on-disk archive that are already installed into the chroot

2010-05-19 Thread Cody A.W. Somerville
and won't take as long to build. Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687 7368 Email: cody.somervi...@canonical.com === modified file '

[PATCH] Fix title for Ubuntu in binary/.disk/info

2010-05-19 Thread Cody A.W. Somerville
-bottom/10-adduser). Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687 7368 Email: cody.somervi...@canonical.com === modified file 'helpers/binary_disk' -

[PATCH] Respect if LH_DEBIAN_INSTALLER_URL is already set in helpers/binary_debian-installer

2010-05-19 Thread Cody A.W. Somerville
heers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687 7368 Email: cody.somervi...@canonical.com === modified file 'helpers/binary_debian-installer' --- helpers/binary_d

[PATCH] Generate casper uuid file in casper initrd

2010-05-20 Thread Cody A.W. Somerville
, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687 7368 Email: cody.somervi...@canonical.com === modified file 'helpers/chroot_hacks' --- helpers/chroot_hacks 2010-0

[PATCH] Standardize to machine readable package manifest

2010-05-20 Thread Cody A.W. Somerville
ile ('dpkg -l' with some explanatory text) will no longer be generated. Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687 7368 Email: cody.some

Re: [PATCH] Respect if LH_DEBIAN_INSTALLER_URL is already set in helpers/binary_debian-installer

2010-05-20 Thread Cody A.W. Somerville
On Thu, May 20, 2010 at 1:53 AM, Daniel Baumann wrote: > On 05/20/2010 06:58 AM, Cody A.W. Somerville wrote: > > Since this is a > > rare use case for most users, I've abstained from further complicating > > lh_config and the config files (for now at least) - hopefully

Re: [PATCH] Standardize to machine readable package manifest

2010-05-21 Thread Cody A.W. Somerville
Hello Daniel, On Fri, May 21, 2010 at 1:25 AM, Daniel Baumann wrote: > On 05/20/2010 09:34 AM, Cody A.W. Somerville wrote: > > > 3. The manifest file will be stored at > > binary/casper/filesystem.manifest and binary/live/filesystem.manifest > > for casper and liv

[PATCH] Extract casper uuid file from casper initrds

2010-08-12 Thread Cody A.W. Somerville
Hello, Better late than never -- Following up on the patch to generate the casper uuid file in casper initrds, here is the patch to extract the uuid file and place it in binary/.disk/. Let me know if you have any questions or concerns about this patch. Cheers, -- Cody A.W. Somerville

[PATCH] Add maverick to list of releases in functions/releases.sh

2010-09-08 Thread Cody A.W. Somerville
Hello, Please accept this very simple patch to add maverick to the list of releases in functions/releases.sh Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687

Re: [PATCH] Add maverick to list of releases in functions/releases.sh

2010-09-09 Thread Cody A.W. Somerville
On Thu, Sep 9, 2010 at 2:52 AM, Daniel Baumann wrote: > On 09/08/2010 11:01 PM, Cody A.W. Somerville wrote: > > Please accept this very simple patch to add maverick to the list of > > releases in functions/releases.sh > > applied, thanks. > > is the list of ubuntu re

Re: [SOLVED] Some issues with live-build 2.0.7-1 in ubuntu mode

2010-12-13 Thread Cody A.W. Somerville
an-cd data files for the Ubuntu suites. Daniel: Are you fine with just grabbing and adding them from the bzr branch at lp:~ubuntu-cdimage/debian-cd/ubuntu/ ? As you probably could guess, I can't provide a patch due to binary files. Cheers, -- Cody A.W. Somerville Release Engineer Foundati

Re: [SOLVED] Some issues with live-build 2.0.7-1 in ubuntu mode

2010-12-13 Thread Cody A.W. Somerville
e installing a single kernel results in no numbering in the filenames which will make lb_binary_disk work and thus make the common case for Ubuntu functional again. Daniel: Do you have a preferred way to make this work? In the mean time, I'll whip something up and send it in too. Cheers, --

Re: Re: [SOLVED] Some issues with live-build 2.0.7-1 in ubuntu mode

2010-12-14 Thread Cody A.W. Somerville
ne is found the > message "no kernel modules found". > > Please remember the link 1. above. > Thanks for all your help. > Rob Key Thanks again! Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687 7368 Email: cody.somervi...@canonical.com

[PATCH] Fix intermittent build failures due to busy loopback device

2010-12-14 Thread Cody A.W. Somerville
s where we do losetup -d or even having Losetup sleep before returning to avoid this race condition for sure in all cases. However, I'll leave that improvement for another day. Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM

[PATCH] Fix numbering of live kernels + initrd files when using syslinux

2010-12-15 Thread Cody A.W. Somerville
This patch also make some very small cosmetic changes to that section of the code. Once landed, lb_binary_disk will no longer choke on Ubuntu mode and AFAIK this is the last issue preventing a completely successful build of Ubuntu. Cheers, -- Cody A.W. Somerville Release Engineer Found

Re: [PATCH] Fix numbering of live kernels + initrd files when using syslinux

2010-12-17 Thread Cody A.W. Somerville
On Fri, Dec 17, 2010 at 5:42 AM, Daniel Baumann wrote: > On 12/15/2010 10:36 PM, Cody A.W. Somerville wrote: > >> Please accept this patch that fixes the numbering of live kernels + >> initrd files when using syslinux. >> > > ack; with one exception: > > wh

Re: [PATCH] Fix numbering of live kernels + initrd files when using syslinux

2010-12-17 Thread Cody A.W. Somerville
On Fri, Dec 17, 2010 at 9:45 AM, Daniel Baumann wrote: > On 12/17/2010 03:30 PM, Cody A.W. Somerville wrote: > >> The current patch will name the first set vmlinuz and initrd.img, not >> vmlinuz and initrd1.img. >> > > that's what i'm saying. > >

Re: [PATCH] Fix numbering of live kernels + initrd files when using syslinux

2010-12-17 Thread Cody A.W. Somerville
On Fri, Dec 17, 2010 at 10:49 AM, Daniel Baumann wrote: > On 12/17/2010 03:47 PM, Cody A.W. Somerville wrote: > >> Thats not the original behavior. It'll also cause lb_binary_disk to >> start barfing again on Ubuntu mode. >> > > the described behaviour is the o

[PATCH] Add missing debian-cd data files for Ubuntu releases for some arches

2011-01-21 Thread Cody A.W. Somerville
maverick to support jaunty builds (although EOL, we're still doing jaunty builds and a symlink doesn't cost much). Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 F

Re: [PATCH] Add missing debian-cd data files for Ubuntu releases for some arches

2011-01-21 Thread Cody A.W. Somerville
On Fri, Jan 21, 2011 at 2:36 PM, Cody A.W. Somerville < cody.somervi...@canonical.com> wrote: > Hello, > > Please accept this patch. > > 1. It adds missing arch specific udeb exclude files which causes the build > to fail in lb_binary_disk if missing; > correction

[PATCH] Fix lb_chroot_upstart to use correct path to initctl

2011-02-25 Thread Cody A.W. Somerville
nd he said never. Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687 7368 Email: cody.somervi...@canonical.com === modified file 'scripts/build/lb_chroot_upsta

[PATCH] Fix corruption of usb images by live-build caused by trying to modify flags in partition table when image is mounted with offset

2011-07-19 Thread Cody A.W. Somerville
2011/07/13#20110713_debian-live-6.0.2-images Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687 7368 Email: cody.somervi...@canonical.com === modified file 'scripts/buil

[PATCH] Update lb_binary_linux-image to only copy over kernel and initrd if LB_LINUX_PACKAGES doesn't equal 'none'

2011-07-19 Thread Cody A.W. Somerville
that are configured not to install any linux packages. Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687 7368 Email: cody.somervi...@canonical.com === modified

[PATCH] [1/2] Do not attempt to recursively chown chroot or binary if LB_ROOT_COMMAND is set

2011-07-19 Thread Cody A.W. Somerville
Hello, Please accept attached patch to remove calls to chown chroot and binary directories during build process if LB_ROOT_COMMAND is set as chown will strip the setsuid bit (which breaks a lot of stuff naturally). Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom

[PATCH][2/2] If 'uname -m' is x86_64 and LB_ARCHITECTURE is i386, append 'linux32' to LB_ROOT_COMMAND

2011-07-19 Thread Cody A.W. Somerville
Hello, Please accept this patch which will append 'linux32' to LB_ROOT_COMMAND if 'uname -m' is x86_64 and LB_ARCHITECTURE is i386. This fixes build failures due to dkms module makefiles relying on uname -m to determine which linux kernel headers to use. Cheers, --

Re: [PATCH] [1/2] Do not attempt to recursively chown chroot or binary if LB_ROOT_COMMAND is set

2011-07-19 Thread Cody A.W. Somerville
On Tue, Jul 19, 2011 at 4:12 PM, Cody A.W. Somerville < cody.somervi...@canonical.com> wrote: > Hello, > > Please accept attached patch to remove calls to chown chroot and binary > directories during build process if LB_ROOT_COMMAND is set as chown will > strip the setsui

Re: [PATCH] Fix corruption of usb images by live-build caused by trying to modify flags in partition table when image is mounted with offset

2011-07-20 Thread Cody A.W. Somerville
On Wed, Jul 20, 2011 at 2:43 AM, Daniel Baumann < daniel.baum...@progress-technologies.net> wrote: > On 07/19/2011 09:29 PM, Cody A.W. Somerville wrote: > > Please accept this patch which updates the lb_binary_usb > > helper to modify the flags with a properly configured loop

Re: [PATCH] [1/2] Do not attempt to recursively chown chroot or binary if LB_ROOT_COMMAND is set

2011-07-21 Thread Cody A.W. Somerville
Hi Daniel, On Thu, Jul 21, 2011 at 5:13 AM, Daniel Baumann < daniel.baum...@progress-technologies.net> wrote: > On 07/19/2011 10:16 PM, Cody A.W. Somerville wrote: > > Please accept attached patch to remove calls to chown chroot and > > binary directories during build proce

[PATCH] More resilient detachment of loopback devices

2011-07-21 Thread Cody A.W. Somerville
ll detraction from my happiness of having a very high degree of confidence that I won't have builds fail anymore due to a busy or unavailable loopback device. ;) Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone:

Re: [PATCH] More resilient detachment of loopback devices

2011-07-21 Thread Cody A.W. Somerville
On Thu, Jul 21, 2011 at 10:30 AM, Cody A.W. Somerville < cody.somervi...@canonical.com> wrote: > Hello, > > Please accept this patch which makes the following changes to make > detachment of loopback devices while building usb images more resilient: > Please accept this upd

[PATCH] Fix path to remote debian-installer images for armel architecture

2011-07-21 Thread Cody A.W. Somerville
Hello, Please accept this patch which updates lb_binary_debian-installer to generate the correct paths to the remote debian-installer images for the armel architecture using the default (ie. first) kernel flavour specified. Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team

[PATCH] Make build configuration available to chroot hooks

2011-07-21 Thread Cody A.W. Somerville
build's configuration (both live-build's and even a custom file with options or data). Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687 7368 Email: co

Bug#661871: lb_chroot_dpkg symlinks /bin/true from host system into chroot when diverting flash-kernel

2012-03-01 Thread Cody A.W. Somerville
Package: live-build lb_chroot_dpkg symlinks /bin/true from the host system into the chroot after diverting /usr/sbin/flash-kernel. This is problematic if the (E)ABI between the host system and chroot system are incompatible (eg. armel host and armhf chroot)as the binary will not be executable

Questions regarding diversion of flash-kernel while building chroot

2012-03-01 Thread Cody A.W. Somerville
system and chroot system are incompatible (eg. armel host and armhf chroot) as the binary will not be executable and thus most likely cause the build to fail if flash-kernel is called. I've filed bug #661871 in Debian BTS regarding this. Cheers, -- Cody A.W. Somerville Release Eng

Re: Questions regarding diversion of flash-kernel while building chroot

2012-03-07 Thread Cody A.W. Somerville
Hi Colin, On 12-03-02 03:38 PM, Colin Watson wrote: On Fri, Mar 02, 2012 at 12:50:36AM -0500, Cody A.W. Somerville wrote: I was curious why it is necessary to use dpkg-divert to temporarily disable /usr/sbin/flash-kernel per your patch accepted to live-build upstream but not start-stop-daemon