<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initramfs-tools.git/scripts/local, branch vyatta/VC6.3-2011.07.21/amd64</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=vyatta%2FVC6.3-2011.07.21%2Famd64</id>
<link rel='self' href='https://git.amelek.net/vyos/initramfs-tools.git/atom?h=vyatta%2FVC6.3-2011.07.21%2Famd64'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/'/>
<updated>2010-06-17T09:24:07+00:00</updated>
<entry>
<title>pre_mountroot(): reduce timeout to 30 seconds</title>
<updated>2010-06-17T09:24:07+00:00</updated>
<author>
<name>maximilian attems</name>
<email>maks@debian.org</email>
</author>
<published>2010-06-17T09:22:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=eb93a7e7d11da7789fa357c763ce2bc76245c8a8'/>
<id>urn:sha1:eb93a7e7d11da7789fa357c763ce2bc76245c8a8</id>
<content type='text'>
giant disk arrays, clusters will need to provide their own rootdelay=
boot arg, they should have capable admins.

3 minutes wait is just too long for regular users.

sync from ubuntu 0.96.1ubuntu1.

Acked-by: Michael Prokop &lt;mika@debian.org&gt;
Signed-off-by: maximilian attems &lt;maks@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>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>scripts/functions: add get_fstype() from scripts/local</title>
<updated>2010-04-04T03:31:49+00:00</updated>
<author>
<name>maximilian attems</name>
<email>maks@debian.org</email>
</author>
<published>2010-04-04T03:30:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=9d6567169ea95ffad8a3c9a95218851821d147b8'/>
<id>urn:sha1:9d6567169ea95ffad8a3c9a95218851821d147b8</id>
<content type='text'>
allows wider usage.

(closes: #487409)

Reported-by: Christoph Anton Mitterer &lt;calestyo@scientia.net&gt;
Signed-off-by: maximilian attems &lt;maks@debian.org&gt;
</content>
</entry>
<entry>
<title>scripts/local: fix blkid invocation</title>
<updated>2010-02-24T23:57:13+00:00</updated>
<author>
<name>maximilian attems</name>
<email>maks@debian.org</email>
</author>
<published>2010-02-24T23:56:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=df43f67500c9f3f1d9ad1e310173cf6babd85a61'/>
<id>urn:sha1:df43f67500c9f3f1d9ad1e310173cf6babd85a61</id>
<content type='text'>
49337bd looks bogus. It adds the test "[
            command ... ]" but I think that should be just "command ..."

Reporte-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: maximilian attems &lt;maks@debian.org&gt;
</content>
</entry>
<entry>
<title>scripts/local: Use blkid as backup fstype detection</title>
<updated>2010-01-30T18:54:13+00:00</updated>
<author>
<name>maximilian attems</name>
<email>maks@debian.org</email>
</author>
<published>2010-01-30T18:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=49337bdc94ed5bc176338cfa793a868fcd33784c'/>
<id>urn:sha1:49337bdc94ed5bc176338cfa793a868fcd33784c</id>
<content type='text'>
if blkid is on initramfs use it.

Thanks to Joey Hess &lt;joeyh@debian.org&gt; for calling syntax.

Signed-off-by: maximilian attems &lt;maks@debian.org&gt;
</content>
</entry>
<entry>
<title>scripts/local: avoid mount -t unknown</title>
<updated>2010-01-30T18:44:24+00:00</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@debian.org</email>
</author>
<published>2010-01-27T02:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=90c19d7bac748efdaab0355d4aa3a25b579bc0f2'/>
<id>urn:sha1:90c19d7bac748efdaab0355d4aa3a25b579bc0f2</id>
<content type='text'>
Since fstype does not support btrfs (#548047),
and since udev 150, vol_id no longer exists,
get_fstype sets FSTYPE to "unknown", and
then the root filesystem is mounted using
"mount -t unknown /dev/hda2 /root".

Of course, that fails, and with a really unhelpful error message
("mount: device doesnot exist")

Why not just skip the -t parameter if FSTYPE=unknown?
Mounting the root fs was going to fail, so letting
mount autodetect the fs type can't be worse.

Attached patch does that and got my root on btrfs working.

Workaround: boot with rootfstype=btrfs

Signed-off-by: maximilian attems &lt;maks@debian.org&gt;
</content>
</entry>
<entry>
<title>allow root=mtd0 to be used; skip root checks if ROOT doesn't start with /dev.</title>
<updated>2009-02-17T14:25:56+00:00</updated>
<author>
<name>Andres Salomon</name>
<email>dilinger@debian.org</email>
</author>
<published>2008-10-14T22:04:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=13df18822a697053e10e8f42397e5237a15590f6'/>
<id>urn:sha1:13df18822a697053e10e8f42397e5237a15590f6</id>
<content type='text'>
The attached patch is needed for booting with root=mtd0.
Basically, the init scripts assume the root device should have a special
device file somewhere, and if not will wait for it to appear.  This patch
changes it so that it only waits for a device file to appear if $ROOT starts
with "/dev".  In the case of things like ROOT=LABEL=foo, the init scripts
will translate that to a device.  With ROOT=mtd0, the init scripts will not
check for a device, and will successfully mount the root filesystem.

Signed-off-by: Andres Salomon &lt;dilinger@debian.org&gt;
</content>
</entry>
<entry>
<title>Merge more meaningful text for no root device panic from Ubuntu.</title>
<updated>2008-07-04T23:46:31+00:00</updated>
<author>
<name>maximilian attems</name>
<email>maks@debian.org</email>
</author>
<published>2008-07-04T23:46:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=b1c5ca97da3bf6053412f1e159db09a48b44a6c5'/>
<id>urn:sha1:b1c5ca97da3bf6053412f1e159db09a48b44a6c5</id>
<content type='text'>
Debian users were pasting that without getting the real trouble,
thanks for the better rephrasing.
</content>
</entry>
<entry>
<title>Wait for udevsettle after $BOOT-top scripts ran</title>
<updated>2008-07-02T22:19:16+00:00</updated>
<author>
<name>martin f. krafft</name>
<email>madduck@debian.org</email>
</author>
<published>2008-07-02T14:50:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=fc24059a296ecba82475debde0eff2330c92a2cd'/>
<id>urn:sha1:fc24059a296ecba82475debde0eff2330c92a2cd</id>
<content type='text'>
udev may be busy creating links for the root device by the time
mountroot is called. udevsettle makes sure these are processed. I thus
call udevsettle with a timeout of 10 seconds after the $BOOT-top
scripts have run and before the ROOTDELAY hack kicks in.

I thought about doing this with a local-top script instead, but there is
no way to ensure that it'll run last; cryptsetup uses a hack to make
sure it runs last, if we also use the same hack, there'll be
a dependency loop.

Signed-off-by: martin f. krafft &lt;madduck@debian.org&gt;
Signed-off-by: maximilian attems &lt;maks@debian.org&gt;
</content>
</entry>
</feed>
