ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: devel@lists.altlinux.org
Subject: Re: [devel] USB в initrd
Date: Tue, 4 Dec 2012 11:58:30 +0200
Message-ID: <20121204095830.GB31865@osdn.org.ua> (raw)
In-Reply-To: <m38v9ewcfh.fsf@thinkpad.evg-krsk.dyndns.org>

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

On Tue, Dec 04, 2012 at 02:37:06PM +0800, Евгений Терешков wrote:
> > осталось протестировать вместе с тем что есть в master кроме этой фичи.
> Хотя модули для клавиатуры добавились, сходу совсем не
> взлетает. Пишет без всякой реакции на ввод без конца
> одну и ту же строчку:
> 
> /init: 7: /init: /lib/success/*: not found

Да, я тоже на это поведение напоролся -- ищут там, откуда перенесли.

> Похоже, коммит a58ff5edef55e3b4d6cd7e81fae853cdd8a57975 гадит :-)

Точнее, недопереработан data/lib/initrd/modules/080-loop;
с приложенным патчиком у меня образ встал и заработал
(без него взрывается, как описано выше).

> +./lib/initrd/success/mountfs
> +./lib/initrd/success/rootfs
> -./lib/success/rootfs

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: 0001-080-loop-fix-overlooked-unmigrated-directory.patch --]
[-- Type: text/plain, Size: 1033 bytes --]

>From 4dec86757ac940a3b7daee9825114bb3a661803a Mon Sep 17 00:00:00 2001
From: Michael Shigorin <mike@altlinux.org>
Date: Tue, 4 Dec 2012 11:27:43 +0200
Subject: [PATCH] 080-loop: fix overlooked unmigrated directory

This would result in

  /init: 7: /init: /lib/success/*: not found

after a58ff5edef55e3b4d6cd7e81fae853cdd8a57975 move;
the difference between the older and new initrd is like:

+/lib/initrd/success/mountfs
+/lib/initrd/success/rootfs
-/lib/success/rootfs

Thanks evg@ for bringing this up again.
---
 data/lib/initrd/modules/080-loop | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/lib/initrd/modules/080-loop b/data/lib/initrd/modules/080-loop
index 02a310e..f9d62e9 100755
--- a/data/lib/initrd/modules/080-loop
+++ b/data/lib/initrd/modules/080-loop
@@ -3,7 +3,7 @@
 msg='Processing kernel events...'
 check() {
 	local f
-	for f in "/lib/$1"/*; do
+	for f in "/lib/initrd/$1"/*; do
 		"$f" ${2-} || return 1
 		[ -n "${2-}" ] || verbose "Check '${f##*/}' success!"
 	done
-- 
1.7.12.4


  reply	other threads:[~2012-12-04  9:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-03 12:32 Sergei Epiphanov
2012-12-03 12:34 ` Alexey Gladkov
2012-12-03 13:51   ` Michael Shigorin
2012-12-03 14:09     ` Alexey Gladkov
2012-12-04  6:37   ` Евгений Терешков
2012-12-04  9:58     ` Michael Shigorin [this message]
2012-12-05  5:52       ` Евгений Терешков
2012-12-05  7:11         ` Alexey Gladkov
2012-12-05  7:36           ` Евгений Терешков

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121204095830.GB31865@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git