<feed xmlns='http://www.w3.org/2005/Atom'>
<title>live-boot.git/debian/postinst, branch cla</title>
<subtitle> (mirror of https://github.com/vyos/live-boot.git)
</subtitle>
<id>https://git.amelek.net/vyos/live-boot.git/atom?h=cla</id>
<link rel='self' href='https://git.amelek.net/vyos/live-boot.git/atom?h=cla'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/live-boot.git/'/>
<updated>2011-03-09T16:48:04+00:00</updated>
<entry>
<title>Prefixing debhelper files with package name.</title>
<updated>2011-03-09T16:48:04+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2009-02-07T23:18:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/live-boot.git/commit/?id=c8d307dda6fb07a63dfe69381fc5176ad925862a'/>
<id>urn:sha1:c8d307dda6fb07a63dfe69381fc5176ad925862a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Expand glob for kernels in post{inst,rm} to include "vmlinux"-prefixed kernels on powerpc.</title>
<updated>2011-03-09T16:48:00+00:00</updated>
<author>
<name>Chris Lamb</name>
<email>chris@chris-lamb.co.uk</email>
</author>
<published>2008-06-21T23:54:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/live-boot.git/commit/?id=1d2375f115cabb543f6a2cf250c6331aff249ada'/>
<id>urn:sha1:1d2375f115cabb543f6a2cf250c6331aff249ada</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adjusting code formating in maintainer scripts.</title>
<updated>2011-03-09T16:47:59+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2008-04-15T20:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/live-boot.git/commit/?id=3d5289751b26b7364b8cebcb3e3e5605bdef97bd'/>
<id>urn:sha1:3d5289751b26b7364b8cebcb3e3e5605bdef97bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restricting counting of installed kernels based on /boot/vmlinuz-* instead of /boot/vmlinuz*.</title>
<updated>2011-03-09T16:47:59+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2008-04-15T20:33:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/live-boot.git/commit/?id=b9590afc81e0ef83eb4252f68c3ec41fc88a7756'/>
<id>urn:sha1:b9590afc81e0ef83eb4252f68c3ec41fc88a7756</id>
<content type='text'>
Kernel images installed the proper way from .deb packages are always
naming their kernel files vmlinuz-*. This way, we can avoid tampering
with completely customized kernels which handle initramfs on their own
(or completely different).
</content>
</entry>
<entry>
<title>Use triggers when calling update-initramfs in postinst and postrm</title>
<updated>2011-03-09T16:47:59+00:00</updated>
<author>
<name>Chris Lamb</name>
<email>chris@chris-lamb.co.uk</email>
</author>
<published>2008-04-15T17:59:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/live-boot.git/commit/?id=55d0448c2b0bef163092e251879047d92a58c91e'/>
<id>urn:sha1:55d0448c2b0bef163092e251879047d92a58c91e</id>
<content type='text'>
One complication with the interaction between live-initramfs and
update-initramfs is completeness - in a normal Debian system, we do not
mind that not all the initrds are updated, so one would simply call
"update-initramfs -u" when upgrading (for example) mdadm.

However, live-initramfs needs to update *all* initrds (ie. '-u -k all'),
but calling this would not use the trigger functionality as
'update-initramfs' will only accept triggering with a single '-u' argument.
This is sensible behaviour, as the trigger callback cannot (and shouldn't)
be parameterised. The result is this is that we must detect how many kernel
flavours we have and revert to the non-triggered call ('-u -k all') if we
have more than one.

My tests show that this is behaviour is sound, even in the slightly
contrived example of updating live-initramfs whilst installing a second
kernel, regardless of the interleaving of the calls to postinst.

We additionally attempt the same logic in the postrm so that upgrading
live-initramfs (for example, in chroot_local-packages) does not result in
two calls expensive calls in update-initramfs.
</content>
</entry>
<entry>
<title>Adding live-initramfs 1.91.5-1.</title>
<updated>2011-03-09T16:31:05+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2007-09-23T12:46:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/live-boot.git/commit/?id=f92e88f44e35a6e103b607a06d9fe69b9c20a53d'/>
<id>urn:sha1:f92e88f44e35a6e103b607a06d9fe69b9c20a53d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding live-initramfs 1.91.4-1.</title>
<updated>2011-03-09T16:31:05+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2007-09-23T12:46:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/live-boot.git/commit/?id=d9ba94a9c03bae6905ff08ece35751eab82781a1'/>
<id>urn:sha1:d9ba94a9c03bae6905ff08ece35751eab82781a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding live-initramfs 1.87.5-1.</title>
<updated>2011-03-09T16:31:05+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2007-09-23T12:46:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/live-boot.git/commit/?id=0a1b827c113b85f48bcd58e64ccd94d094b9bd8a'/>
<id>urn:sha1:0a1b827c113b85f48bcd58e64ccd94d094b9bd8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding live-initramfs 1.87.1-1.</title>
<updated>2011-03-09T16:24:35+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2007-09-23T12:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/live-boot.git/commit/?id=4bdaa2237c6ae923d1dd068e9024ebceca3f40d9'/>
<id>urn:sha1:4bdaa2237c6ae923d1dd068e9024ebceca3f40d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adding casper 1.66+debian-1.</title>
<updated>2007-09-23T12:46:24+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2007-09-23T12:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/live-boot.git/commit/?id=6c1a2cfab139bb4a61e7bcf5f4cafe3b7498f64e'/>
<id>urn:sha1:6c1a2cfab139bb4a61e7bcf5f4cafe3b7498f64e</id>
<content type='text'>
</content>
</entry>
</feed>
