<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initramfs-tools.git/scripts/local, branch 0.95.1</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=0.95.1</id>
<link rel='self' href='https://git.amelek.net/vyos/initramfs-tools.git/atom?h=0.95.1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/'/>
<updated>2010-04-04T03:31:49+00:00</updated>
<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>
<entry>
<title>init: Remove extra ellipses</title>
<updated>2008-07-02T22:16:48+00:00</updated>
<author>
<name>martin f. krafft</name>
<email>madduck@debian.org</email>
</author>
<published>2008-07-02T14:50:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=7e5cad4b55f4e3ca20bb0f4dbaeaf3d6b9e7b8d7'/>
<id>urn:sha1:7e5cad4b55f4e3ca20bb0f4dbaeaf3d6b9e7b8d7</id>
<content type='text'>
log_begin_msg already puts ... at the end of the stuff it prints, so no
need to have it in there explicitly.

Signed-off-by: martin f. krafft &lt;madduck@debian.org&gt;
Signed-off-by: maximilian attems &lt;maks@debian.org&gt;
</content>
</entry>
<entry>
<title>scripts/local: small CodingStyle quote readonly variable</title>
<updated>2007-08-25T17:11:44+00:00</updated>
<author>
<name>maximilian attems</name>
<email>maks@debian.org</email>
</author>
<published>2007-08-25T17:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=cd3e97b5b87380e8d1700c6f86d907ad40a1179d'/>
<id>urn:sha1:cd3e97b5b87380e8d1700c6f86d907ad40a1179d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scripts/local: make sure that fstype is always invoked</title>
<updated>2007-07-04T08:15:53+00:00</updated>
<author>
<name>maximilian attems</name>
<email>maks@debian.org</email>
</author>
<published>2007-07-04T08:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/initramfs-tools.git/commit/?id=ee93d17783dc32d03faf99c29bdcd4fcc30abc43'/>
<id>urn:sha1:ee93d17783dc32d03faf99c29bdcd4fcc30abc43</id>
<content type='text'>
</content>
</entry>
</feed>
