From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] hasher и пакет dev. Date: Fri, 16 Feb 2007 02:33:19 +0300 Message-ID: <20070215233319.GA23942@basalt.office.altlinux.org> (raw) In-Reply-To: <3f60a830702151523v4b8493a3n82f1f3cda0142782@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 1697 bytes --] On Fri, Feb 16, 2007 at 11:23:47AM +1200, Alexey Borovskoy wrote: > 16.02.07, Dmitry V. Levin<ldv@> написал(а): > > On Fri, Feb 16, 2007 at 10:15:48AM +1200, Alexey Borovskoy wrote: > > > 15.02.07, Mikhail Yakshin написал: > > > > Alexey Borovskoy wrote: > > > > > Добрый день. > > > > > > > > > > Как поставить пакет dev внутрь чрута хешера? > > > > > Или как скопировать пакет в в $chroot/.in хешера с помощью самого хешера? > > > > > > > > А что именно из пакета dev нужно внутри чрута? > > > > > > Нужен весь пакет dev. Я делаю livecd для быстрого развертывания HN > > > OpenVZ на базе Compact 3.0.4. > > > > Честно говоря, идея реанимировать Compact 3.0.4 мне не близка, даже если > > реанимация принимает такую форму. > > Я жду с нетерпением бранча altlinux-3.1. :-) altlinux-3.1, видимо, был год назад. Теперь это уже 4.0, наверное. :) > > hasher никогда не был предназначен для помещения произвольных файлов > > устройств внутрь чрута -- это небезопасно по своей природе. > > > > Но для того, чтобы сделать livecd, настоящих файлов устройств не нужно > > совсем, для этого достаточно создать пустые файлы в > > hasher-workdir/chroot/dev/, после чего изнутри (hsh-run --root) установить > > на них нужные права доступа. > > У меня livecd несет в себе тарбол минимальной системы. Потом тарбол > разворачивается на целевую систему, делается chroot в нее, затем > устанавливается lilo. И тут всё останавливается, лило хочет /dev/hda к > примеру. Для того, чтобы положить в тарбол файл устройства, вовсе не обязательно наличие этого файла устройства. > > Можно попробовать на досуге нарисовать hsh-mknod для упрощения этой процедуры. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-02-15 23:33 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-15 5:11 Alexey Borovskoy 2007-02-15 7:23 ` Anton Farygin 2007-02-15 22:10 ` Alexey Borovskoy 2007-02-15 8:27 ` Mikhail Yakshin 2007-02-15 22:15 ` Alexey Borovskoy 2007-02-15 22:23 ` Michael Shigorin 2007-02-15 23:11 ` Alexey Borovskoy 2007-02-16 8:27 ` Michael Shigorin 2007-02-15 22:31 ` Dmitry V. Levin 2007-02-15 23:23 ` Alexey Borovskoy 2007-02-15 23:33 ` Dmitry V. Levin [this message] 2007-02-15 23:48 ` Alexey Borovskoy 2007-02-16 7:54 ` Anton Farygin 2007-02-16 8:32 ` [devel] next version Michael Shigorin 2007-02-16 7:55 ` Kirill A. Shutemov 2007-02-16 8:38 ` [devel] [JT] " Slava Dubrovskiy 2007-02-16 8:51 ` [devel] " Anton Farygin 2007-02-16 10:36 ` Денис Смирнов 2007-02-16 9:53 ` [devel] hasher и пакет dev Денис Смирнов 2007-02-16 10:17 ` Dmitry V. Levin 2007-02-16 10:32 ` Денис Смирнов 2007-02-16 11:20 ` Konstantin A. Lepikhov 2007-02-16 13:24 ` Денис Смирнов 2007-02-16 23:49 ` [devel] I: hsh-fakedev Dmitry V. Levin 2007-02-15 10:37 ` [devel] hasher и пакет dev Денис Смирнов 2007-02-15 20:27 ` Konstantin A. Lepikhov
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=20070215233319.GA23942@basalt.office.altlinux.org \ --to=ldv@altlinux.org \ --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