<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-live-build.git/hooks/minimal, branch tmp-vbox</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=tmp-vbox</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-live-build.git/atom?h=tmp-vbox'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/'/>
<updated>2011-03-09T18:20:42+00:00</updated>
<entry>
<title>Updating year in hooks and script files.</title>
<updated>2011-03-09T18:20:42+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2011-01-11T13:49:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=18eeaae6021834d5ec5a51b688bca0f062808932'/>
<id>urn:sha1:18eeaae6021834d5ec5a51b688bca0f062808932</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding debian version 3.0~a1-1.</title>
<updated>2011-03-09T18:19:23+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2010-09-26T10:38:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a'/>
<id>urn:sha1:c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updating year in manpage, hooks, script and template files.</title>
<updated>2011-03-09T18:17:33+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2011-01-11T13:56:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=2ddc0cef5dca72ad5750479cef47492988172ff6'/>
<id>urn:sha1:2ddc0cef5dca72ad5750479cef47492988172ff6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updating copyright headers for live-build.</title>
<updated>2011-03-09T18:17:18+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2010-09-02T11:12:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=4d22ca948ad3def3f98fd89d32bf2ba8209460fd'/>
<id>urn:sha1:4d22ca948ad3def3f98fd89d32bf2ba8209460fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Moving /usr/share/live-helper to /usr/share/live/build.</title>
<updated>2011-03-09T18:17:17+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2010-08-14T18:29:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=c210b8ae444e088957461c9fb242ace1fa63e7b1'/>
<id>urn:sha1:c210b8ae444e088957461c9fb242ace1fa63e7b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updating year to 2010 in copyright notices.</title>
<updated>2011-03-09T18:17:04+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2010-03-04T12:43:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=54518852c8c69eafe56aa68d13c8dfdfc8fc30ea'/>
<id>urn:sha1:54518852c8c69eafe56aa68d13c8dfdfc8fc30ea</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>Moving removal of apt packages lists from minimal and stripped hook to lh_chroot_sources, thanks to Ben Armstrong &lt;synrg@debian.org&gt;.</title>
<updated>2011-03-09T18:09:39+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2009-01-11T16:05:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=4185bfed45d1ec5bb7bd65536ee1e8ace12539bf'/>
<id>urn:sha1:4185bfed45d1ec5bb7bd65536ee1e8ace12539bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ensure apt-utils is installed in the helpers it is required.</title>
<updated>2011-03-09T18:03:35+00:00</updated>
<author>
<name>Chris Lamb</name>
<email>chris@chris-lamb.co.uk</email>
</author>
<published>2008-06-15T01:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=a26d1c55e1787a982a58fe9aa1e0f3e440577c9b'/>
<id>urn:sha1:a26d1c55e1787a982a58fe9aa1e0f3e440577c9b</id>
<content type='text'>
This allows us to remove a hacky test from hooks/minimal to see whether
we need the package.
</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>
