<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initramfs-tools.git/hook-functions, branch v0.97</title>
<subtitle>Vyatta fork of initramfs-tools (mirror of https://github.com/vyos/initramfs-tools.git)
</subtitle>
<id>https://git.amelek.net/vyos/initramfs-tools.git/atom?h=v0.97</id>
<link rel='self' href='https://git.amelek.net/vyos/initramfs-tools.git/atom?h=v0.97'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/'/>
<updated>2010-06-17T16:13:49+00:00</updated>
<entry>
<title>hook-functions: install virtio_pci module if /sys/bus/virtio is present and using modules=dep</title>
<updated>2010-06-17T16:13:49+00:00</updated>
<author>
<name>Michael Prokop</name>
<email>mika@debian.org</email>
</author>
<published>2010-06-16T23:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=91f5947c08560feecb5f05d85efa6a2669486de3'/>
<id>urn:sha1:91f5947c08560feecb5f05d85efa6a2669486de3</id>
<content type='text'>
Thanks: Vincent Danjean &lt;vdanjean@debian.org&gt;
Closes: #585992
Signed-off-by: Michael Prokop &lt;mika@debian.org&gt;
</content>
</entry>
<entry>
<title>hook-functions: do not install ubi module by default via auto_add_modules()</title>
<updated>2010-06-16T14:48:06+00:00</updated>
<author>
<name>Michael Prokop</name>
<email>mika@debian.org</email>
</author>
<published>2010-06-16T08:36:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=528ba7842a4079526118ba6edda25ed926d550ea'/>
<id>urn:sha1:528ba7842a4079526118ba6edda25ed926d550ea</id>
<content type='text'>
d-i does not support UBI/UBIFS yet and adding ubi.ko it by default
to initrd when MODULES=most is set doesn't provide any benefits yet.
Therefore don't waste ~125kb disk space by default, instead leave
the installation of ubi to d-i through a hook.

Signed-off-by: Michael Prokop &lt;mika@debian.org&gt;
</content>
</entry>
<entry>
<title>hook-functions/init/scripts/local: add support for ubifs.</title>
<updated>2010-06-16T14:48:06+00:00</updated>
<author>
<name>Martin Michlmayr</name>
<email>tbm@cyrius.com</email>
</author>
<published>2010-06-13T16:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=bb66fc2a8b40d6c8ecd093cf1b358d4476ab1e1c'/>
<id>urn:sha1:bb66fc2a8b40d6c8ecd093cf1b358d4476ab1e1c</id>
<content type='text'>
MODULES=dep fails when / is ubifs. This patch adds support for
something like root=ubi0:rootfs when ubi is modular.

Quoting Martin:

    It essentially does three things:
     - adds the correct modules to the ramdisk (for MODULES=dep and MODULES=most)
     - reads ubi.mtd= from the command line
     - loads ubi with the ubi.mtd info and ignores the "Waiting for root" check

    I've successfully tested this with a kernel with modular ubi and with
    the following boot variants:
      console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
      console=ttyS0,115200 ubi.mtd=2 root=ubi0_0 rootfstype=ubifs

    With
      console=ttyS0,115200 ubi.mtd=2 root=/dev/ubi0_0 rootfstype=ubifs
    I get an error that it cannot mount root but I suspect this is an
    ubifs error and has nothing to do with i-t (since at this point I can
    manually mount it with -t ubifs ubi0_0 whereas the /dev/ variant
    doesn't work).

    Tested with MODULES=dep and MODULES=most as well as with a kernel that
    has ubifs built in.

Closes: #582858
Thanks: Martin Michlmayr &lt;tbm@cyrius.com&gt;
Signed-off-by: Martin Michlmayr &lt;tbm@cyrius.com&gt;
Reviewed-by: Michael Prokop &lt;mika@debian.org&gt;
</content>
</entry>
<entry>
<title>hook-functions: replace awk calls with sed in dep_add_modules()</title>
<updated>2010-06-15T16:16:37+00:00</updated>
<author>
<name>Michael Prokop</name>
<email>mika@grml.org</email>
</author>
<published>2010-06-15T16:16:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=5697c3b7e4ece610e71117f1dddb2cc8637f8420'/>
<id>urn:sha1:5697c3b7e4ece610e71117f1dddb2cc8637f8420</id>
<content type='text'>
If mawk is installed as default awk version it won't handle
[:digit:], instead let's replace the grep/awk/shell version
with one single sed invocation.

Closes: #585991
Thanks: Thorsten Glaser &lt;tg@mirbsd.de&gt;
Signed-off-by: Michael Prokop &lt;mika@grml.org&gt;
</content>
</entry>
<entry>
<title>code cleanup: consequently use "W:" for warnings.</title>
<updated>2010-06-14T10:17:51+00:00</updated>
<author>
<name>Michael Prokop</name>
<email>mika@debian.org</email>
</author>
<published>2010-06-14T10:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=3a02c6f37d4c331b347692a0200941c4c59b3ea3'/>
<id>urn:sha1:3a02c6f37d4c331b347692a0200941c4c59b3ea3</id>
<content type='text'>
The only exception is log_warning_msg() inside scripts/functions
which is/can be used by external scripts.

Signed-off-by: Michael Prokop &lt;mika@debian.org&gt;
</content>
</entry>
<entry>
<title>code cleanup: consequently replace spaces in indentions with tabs to unify coding stile</title>
<updated>2010-06-14T10:15:07+00:00</updated>
<author>
<name>Michael Prokop</name>
<email>mika@debian.org</email>
</author>
<published>2010-06-14T10:15:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=ab28c77261267a14cc7308e8c4d7a0b48a8ac2ab'/>
<id>urn:sha1:ab28c77261267a14cc7308e8c4d7a0b48a8ac2ab</id>
<content type='text'>
Signed-off-by: Michael Prokop &lt;mika@debian.org&gt;
</content>
</entry>
<entry>
<title>code cleanup: drop trailing whitespaces.</title>
<updated>2010-06-14T10:10:28+00:00</updated>
<author>
<name>Michael Prokop</name>
<email>mika@debian.org</email>
</author>
<published>2010-06-14T10:10:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=60afd2a944cf36a5bce6ca3b4c07a422e98efeba'/>
<id>urn:sha1:60afd2a944cf36a5bce6ca3b4c07a422e98efeba</id>
<content type='text'>
Signed-off-by: Michael Prokop &lt;mika@debian.org&gt;
</content>
</entry>
<entry>
<title>hook-functions/mkinitramfs/update-initramfs: consequently output error messages to stderr</title>
<updated>2010-06-14T09:11:42+00:00</updated>
<author>
<name>Michael Prokop</name>
<email>mika@debian.org</email>
</author>
<published>2010-06-14T09:11:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=2a8c9907b1095015e1d669d3cd895657936f6247'/>
<id>urn:sha1:2a8c9907b1095015e1d669d3cd895657936f6247</id>
<content type='text'>
Signed-off-by: Michael Prokop &lt;mika@debian.org&gt;
</content>
</entry>
<entry>
<title>Produce an error when root cannot be determined with MODULES=dep</title>
<updated>2010-06-13T19:03:54+00:00</updated>
<author>
<name>Martin Michlmayr</name>
<email>tbm@cyrius.com</email>
</author>
<published>2010-06-08T19:43:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=e65ee485d9d6f257e70231669a13e05cc45acbb3'/>
<id>urn:sha1:e65ee485d9d6f257e70231669a13e05cc45acbb3</id>
<content type='text'>
A lot of code in dep_add_modules() uses $root.  Therefore, produce an
error message if we cannot determine the root device.

[ error out on this condtion too. -maks ]

Signed-off-by: Martin Michlmayr &lt;tbm@cyrius.com&gt;
Signed-off-by: maximilian attems &lt;maks@debian.org&gt;
</content>
</entry>
<entry>
<title>dep_add_modules(): handle ubifs and return since ubifs root is a char device</title>
<updated>2010-06-08T09:18:12+00:00</updated>
<author>
<name>Michael Prokop</name>
<email>mika@debian.org</email>
</author>
<published>2010-06-08T09:18:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=66522c9547575495d2d36ee0f3d030ef502aeba6'/>
<id>urn:sha1:66522c9547575495d2d36ee0f3d030ef502aeba6</id>
<content type='text'>
Add additional check to handle ubifs and return since
ubifs root is a char device but most of the following
commands in dep_add_modules() only work with block
devices.

Patch by Martin Michlmayr &lt;tbm@cyrius.com&gt;

[Closes: #582858]

Signed-off-by: Michael Prokop &lt;mika@debian.org&gt;
</content>
</entry>
</feed>
