From: Pavlov Konstantin <thresh@altlinux.ru> To: devel@lists.altlinux.org Subject: Re: [devel] mkinitrd и ядра не из ALT Date: Wed, 2 Apr 2008 17:21:59 +0400 Message-ID: <20080402132159.GC20645@cryo.net.ru> (raw) In-Reply-To: <20080402131551.GA18207@wo.int.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 1225 bytes --] On Wed, Apr 02, 2008 at 05:15:51PM +0400, Dmitry V. Levin wrote: > On Wed, Apr 02, 2008 at 03:54:38PM +0400, Pavlov Konstantin wrote: > > Добрый день, а как создавать initrd для ядер не из ALT? > > > > Наш mkinitrd крив^W не той системы, поэтому выдает что-то вроде: > > > > FATAL: Could not open > > /tmp/.private/root/initrd.mPAsj29100/tree/lib/modules/2.6.18-ovz028stab053.5-smp/modules.dep.temp > > for writing: No such file or directory > > > > при попытке создания образа. > > Наш mkinitrd не поддерживает несоздание initrd для ядер, которым > initrd не нужен. Раньше поддерживал... Спасибо Сергею Власову, продвинулись дальше при помощи: diff --git a/mkinitrd b/mkinitrd index dc92c47..765b8db 100755 --- a/mkinitrd +++ b/mkinitrd @@ -1341,7 +1341,8 @@ MakeMountDir() MNTDIR="$WORKDIR/tree" RCFILE="$MNTDIR/linuxrc" - Mkdir -p $MNTDIR/{etc,dev,safedev,loopfs,sys,proc} || + Mkdir -p "$MNTDIR"/{etc,dev,safedev,loopfs,sys,proc} && + Mkdir -p "$MNTDIR/lib/modules/$KERNEL" || Fatal "Failed to create directories." if [ "$IMAGE_TYPE" = initramfs ]; then -- <Fred^> но вот свистеть на 9600 ща уже разучились... <Fred^> не тот админ пошел... :) [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-04-02 13:21 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-04-02 11:54 Pavlov Konstantin 2008-04-02 13:15 ` Dmitry V. Levin 2008-04-02 13:21 ` Pavlov Konstantin [this message] 2008-04-02 13:42 ` Pavlov Konstantin
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=20080402132159.GC20645@cryo.net.ru \ --to=thresh@altlinux.ru \ --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