ALT Linux architecture porting
 help / color / mirror / Atom feed
From: Mike Lykov <combr@yandex.ru>
To: ALT Linux arch porting <devel-ports@lists.altlinux.org>
Subject: [devel-ports] бесполезный checking root filesystem
Date: Thu, 15 Apr 2010 10:41:57 +0400
Message-ID: <90011271313717@web67.yandex.ru> (raw)

Здравствуйте.

продолжу тему оптимизации стартовых скриптов еще раз, на конкретном примере.
напомню - имеем нечто, что держит корневую систему на flash с ФС jffs2, ubifs и т.п.
но в пакете startup есть такой скрипт /etc/rc.d/rc.sysinit , который у меня _упорно_ хочет сделать 

Checking root filesystem
[/sbin/fsck.ext2 (1) -- /] fsck.ext2 -ay /dev/mtdblock2

вот обязательно ext2 ему подавай, и все тут. Почему только ext2 сейчас не помню, может он fstab читает или еще как, но в результате все равно:
The superblock could not be read or does not describe a correct ext2
filesystem. 
*** An error occurred during the file system check.

и все вываливается, останавливаясь. 
Это, конечно, обходится (костыльный такой workaround) параметром fastboot при загрузке ядра, но не всегда я об этом вспоминаю,
и все равно приходится исправлять параметры ядра (а при rootfs от angstrom, например, не надо).

так как же сделать в пакете startup, глобально, навсегда в arm-архитектуре в репозитории, чтобы изначально этого дурацкого 
Checking root filesystem
не было? 

т.е. нужно не просто пересобрать пакет, а еще и изменить  его для этой архитектуры, оставив для других старый?
(вопрос не в том, что делать лично мне, а в том, как устроить репозиторий).

-- 
Mike 




             reply	other threads:[~2010-04-15  6:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15  6:41 Mike Lykov [this message]
2010-04-15  6:56 ` Michail Yakushin
2010-04-15  7:57   ` Mike Lykov
2010-04-15  8:06     ` Michail Yakushin
2010-04-15  8:17       ` Mike Lykov
2010-04-15  8:51         ` Michail Yakushin

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=90011271313717@web67.yandex.ru \
    --to=combr@yandex.ru \
    --cc=devel-ports@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 architecture porting

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-ports/0 devel-ports/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-ports devel-ports/ http://lore.altlinux.org/devel-ports \
		devel-ports@lists.altlinux.org devel-ports@lists.altlinux.ru devel-ports@lists.altlinux.com
	public-inbox-index devel-ports

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


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