<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-live-build.git/helpers/lh_chroot_linux-image, branch current</title>
<subtitle> (mirror of https://github.com/vyos/vyos-live-build.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-live-build.git/atom?h=current</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-live-build.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/'/>
<updated>2011-03-09T18:17:04+00:00</updated>
<entry>
<title>Dropping lh_ prefix from internal helpers, this is not user visible.</title>
<updated>2011-03-09T18:17:04+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2010-02-05T16:10:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=3b80c5c5d9c9d2eec91910b70a120da5943c7fac'/>
<id>urn:sha1:3b80c5c5d9c9d2eec91910b70a120da5943c7fac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding debian version 2.0~a1-1.</title>
<updated>2011-03-09T18:16:26+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2009-11-22T13:40:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=5e4952e8a796851369073d47e375e97c072e040f'/>
<id>urn:sha1:5e4952e8a796851369073d47e375e97c072e040f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding initial support for virtual-hdd binary image type.</title>
<updated>2011-03-09T18:09:42+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2009-02-25T08:51:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=f73041f2f0905a2bb6ee3b938a9e1fa0fc53a3e6'/>
<id>urn:sha1:f73041f2f0905a2bb6ee3b938a9e1fa0fc53a3e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updating year in copyright notices for 2009.</title>
<updated>2011-03-09T18:09:40+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2009-01-26T16:39:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=989f26d87b5ef36e1f1fd419a9ff2996b3f4b360'/>
<id>urn:sha1:989f26d87b5ef36e1f1fd419a9ff2996b3f4b360</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Using common function file to source shell includes.</title>
<updated>2011-03-09T18:09:40+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2009-01-26T16:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=9ce762a50229bebd07600f1c29167db31f8bfb53'/>
<id>urn:sha1:9ce762a50229bebd07600f1c29167db31f8bfb53</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Translating the description of the helpers</title>
<updated>2011-03-09T18:09:39+00:00</updated>
<author>
<name>Antonio Terceiro</name>
<email>terceiro@softwarelivre.org</email>
</author>
<published>2009-01-15T02:37:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=8a477ac3a9b215ed7b4a80a23b044892ac8e5d81'/>
<id>urn:sha1:8a477ac3a9b215ed7b4a80a23b044892ac8e5d81</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Renaming internal Read_conffile(); to Read_conffiles(); for consistency reasons.</title>
<updated>2011-03-09T18:03:43+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2008-10-28T15:26:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=6696b019fe03a371d69c50a1ef82223e4bb364a7'/>
<id>urn:sha1:6696b019fe03a371d69c50a1ef82223e4bb364a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enforcing lh_config to be run before lh_build, see also http://lists.debian.org/debian-live/2008/10/msg00102.html (Closes: #500740).</title>
<updated>2011-03-09T18:03:42+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2008-10-14T19:32:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=6204dc0e6db02859a07a978d87f1a5231c0214cf'/>
<id>urn:sha1:6204dc0e6db02859a07a978d87f1a5231c0214cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Install most chroot packages in one ${LH_APT} call (Closes: #475739)</title>
<updated>2011-03-09T18:03:32+00:00</updated>
<author>
<name>Chris Lamb</name>
<email>chris@chris-lamb.co.uk</email>
</author>
<published>2008-04-17T03:13:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=36cc525945f8726662dbb35395a24064cee0098f'/>
<id>urn:sha1:36cc525945f8726662dbb35395a24064cee0098f</id>
<content type='text'>
This patch installs (almost) all chroot packages by queueing the package
names into a single file and then installing that. It depends on my
previous patch to install local packages by using an APT mirror.

This speeds up image build causes even greater speedups once more packages
adopt triggers.

(Packages installed by debconf preseeding are not touched, nor are packages
installed by tasks.)
</content>
</entry>
<entry>
<title>Install local packages using a local APT repo instead of using "dpkg -i"</title>
<updated>2011-03-09T18:03:32+00:00</updated>
<author>
<name>Chris Lamb</name>
<email>chris@chris-lamb.co.uk</email>
</author>
<published>2008-04-16T05:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=ae785955db43a135455b50b98807a26b9fb8805a'/>
<id>urn:sha1:ae785955db43a135455b50b98807a26b9fb8805a</id>
<content type='text'>
This patch modifies chroot_sources to build a small APT repo of the
local-packages and use that for local package installation instead of
"dpkg -i". This has a few advantages:

 * Removes the true ugliness that is "dpkg -i *.deb &amp;&amp; apt-get install -f".
   This not only is slow and brittle, it causes scary "dpkg dependency
   error" messages to appear in build logs.

 * We can (ie. not implemented here) move to installing all the packages
   from:

    - lh_chroot_packages (ie. ${LH_PACKAGES})
    - lh_chroot_local-packages (ie. config/chroot_local-packages/*.deb)
    - lh_chroot_local-packageslists
    - lh_chroot_packages-lists
    - lh_chroot_linux-image

   .. in one shot. This would primarily improve speed as we would not keep
   invoking ${LH_APT}, and package installations can share triggers and
   suchlike -- installing a custom live-initramfs via local packages
   currently costs an additional "update-initramfs -u" call.

   It would also fix a number of obscure dependency cases, such as the one
   documented in #475739, and--if the user is using aptitude--may even
   result in better resolution choices.

 * Removes some messy and somewhat brittle code in lh_chroot_linux-image
   that edgecases a local live-initramfs.

The disadvantages are:

 * If local packages are being used and we are building in a chroot, we
   must refresh the sources list and rebuild the repo before building the
   binary images. (However, before this patch, we had to do this anyway if
   the binary mirrors were different from the chroot ones.)

 * We must add a little hack to the minimal hook to detect whether we are
   using local packages and not remove apt-utils (which creates the
   repository in lh_chroot_sources) if that is the case -- we cannot simply
   use "Install_package" inside lh_chroot_sources as we are not guaranteed
   to have working APT data because the minimal hook deliberately removes
   them!
</content>
</entry>
</feed>
