From: Leonid Krivoshein <klark.devel@gmail.com>
To: "Michael A. Kangin" <mak@complife.ru>,
Alexey Gladkov <legion@altlinux.ru>
Cc: antohami@altlinux.org
Subject: Re: [make-initrd] [devel] syslinux
Date: Tue, 23 Apr 2019 01:48:25 +0300
Message-ID: <ef494041-105e-b868-5d4d-2748bf4a5191@gmail.com> (raw)
In-Reply-To: <28c245e8-187d-b300-31f8-e8c9b762f75f@complife.ru>
Я могу собрать тестовое задание на основе этого:
http://git.altlinux.org/people/legion/packages/make-initrd.git ?
Это решит проблемы с шеллом?
А то завтра хотел продолжить на железе...
23.04.2019 01:38, Michael A. Kangin пишет:
> On 04/23/2019 12:12 AM, Michael A. Kangin wrote:
>
>>> Я для себя генерирую просто ещё один образ с башем и утилитами.
>>
>> Кстати, а как бы вы в такой образ клали dropbear-scp? Он конфликтует
>> по имени с opensshшным, в системе его всё время держать не получится...
>
> Кстати о dropbear, ему нужен /dev/pts, иначе к нему подключиться не
> удаётся:
> [4752] Apr 22 22:22:09 pty_allocate: openpty: No such file or directory
> [4752] Apr 22 22:22:09 No pty was allocated, couldn't execute
> [4752] Apr 22 22:22:09 Exit (root): Exited normally
>
> В initrd оно само не монтируется - в fstab при генерации не попадает,
> но если смонтировать вручную, то можно подключаться нормально.
>
>
> Кстати, он с dropbear вообще оказывается в образ не собирается, даже
> если добавить syslog дополнительно, да и klogd кудато делся...
>
> [root@Sisyphus 1]# cat /etc/initrd.mk
> # trying to detect modules and features to access to root volume
> AUTODETECT = all
> MODULES_PRELOAD += autofs4
> FEATURES += nfsroot dropbear syslog
> DISABLE_GUESS += ucode
> MODULES_ADD += ipv6
>
>
> [root@Sisyphus 1]# make-initrd
> Config file: /etc/initrd.mk
> Generating module dependencies on host ...
> Creating initrd image ...
> Adding NFS root support ...
> Adding syslog support ...
> initrd-cp: error: /sbin/klogd: No such file or directory
> Adding dropbear server ...
> Adding modules ...
> Adding modules (preload) ...
> Adding rescue modules ...
> Adding module dependencies ...
> Adding modules to run inside qemu ...
> Generating module dependencies in image ...
> Adding initrd shell support (shell mode) ...
> Packed modules: 8139cp 8390 9pnet 9pnet_virtio af_packet ahci
> ata_generic ata_piix autofs4 caif_virtio cdrom crc-ccitt crc16
> crc32c-intel crc32c_generic crypto_engine drm drm_kms_helper e100
> e1000 evdev ext4 failover fscache fscrypto grace hid hid-generic
> i2c-core input-leds ipv6 jbd2 libahci libata lockd mbcache mii
> ne2k-pci net_failover nfs pata_acpi pcnet32 rng-core rpmsg_core
> scsi_mod serio_raw sr_mod sunrpc ttm virtio virtio-gpu virtio-rng
> virtio_balloon virtio_blk virtio_console virtio_crypto virtio_input
> virtio_mmio virtio_net virtio_pci virtio_ring virtio_rpmsg_bus
> virtio_scsi vmw_vsock_virtio_transport
> vmw_vsock_virtio_transport_common vringh vsock
> Sorting sysvinit services ...
> sort-lsb: Error: Unable to find dependency for 'uevent' on K0: $syslog
> sort-lsb: Error: Unmet found at runlevel K0 in services: dropbear
> klogd mountsrc syslogd udev uevent
> make: *** [/usr/share/make-initrd/mk/rules.mk:59: sort-services] Error 1
> make: *** [/usr/share/make-initrd/mk/make-initrd.mk:29: all] Error 1
>
--
Best regards,
Leonid Krivoshein.
next prev parent reply other threads:[~2019-04-22 22:48 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-15 23:27 ` Leonid Krivoshein
2019-04-17 14:27 ` Michael A. Kangin
2019-04-17 15:16 ` Leonid Krivoshein
2019-04-18 23:00 ` Michael A. Kangin
2019-04-19 4:01 ` Leonid Krivoshein
2019-04-19 16:33 ` Michael A. Kangin
2019-04-19 18:14 ` Leonid Krivoshein
2019-04-19 18:24 ` Michael A. Kangin
2019-04-19 21:04 ` Alexey Gladkov
2019-04-19 21:31 ` Michael A. Kangin
2019-04-21 13:43 ` Alexey Gladkov
2019-04-21 15:44 ` Michael A. Kangin
2019-04-21 23:08 ` Michael A. Kangin
2019-04-22 0:33 ` Alexey Gladkov
2019-04-22 14:48 ` Alexey Gladkov
2019-04-22 16:07 ` Alexey Gladkov
2019-04-22 17:08 ` Leonid Krivoshein
2019-04-22 18:48 ` Alexey Gladkov
2019-04-22 20:05 ` Michael A. Kangin
2019-04-23 8:40 ` Alexey Gladkov
2019-04-22 18:39 ` Leonid Krivoshein
2019-04-22 22:06 ` Michael A. Kangin
2019-04-23 6:52 ` Alexey Gladkov
2019-04-23 11:52 ` Michael A. Kangin
2019-04-22 0:04 ` Alexey Gladkov
2019-04-22 15:46 ` Leonid Krivoshein
2019-04-22 16:06 ` Alexey Gladkov
2019-04-22 16:16 ` Michael Shigorin
2019-04-22 16:28 ` Leonid Krivoshein
2019-04-22 16:25 ` Leonid Krivoshein
2019-04-23 11:57 ` Michael Shigorin
2019-04-23 12:03 ` Leonid Krivoshein
2019-04-23 12:27 ` [make-initrd] Move to make-initrd@ maillist (was: Re: [devel] syslinux) Alexey Gladkov
2019-04-23 12:28 ` Michael Shigorin
2019-04-23 12:33 ` [make-initrd] Move to make-initrd@ maillist Michael A. Kangin
2019-04-23 12:41 ` Michael Shigorin
2019-04-22 18:00 ` [make-initrd] [devel] syslinux Michael A. Kangin
2019-04-22 19:14 ` Alexey Gladkov
2019-04-22 19:19 ` Michael Shigorin
2019-04-22 19:25 ` Leonid Krivoshein
2019-04-22 20:01 ` Michael Shigorin
2019-04-23 7:07 ` Alexey Gladkov
2019-04-22 19:50 ` Michael A. Kangin
2019-04-22 22:12 ` Michael A. Kangin
2019-04-22 22:38 ` Michael A. Kangin
2019-04-22 22:48 ` Leonid Krivoshein [this message]
2019-04-23 0:49 ` Leonid Krivoshein
2019-04-23 11:33 ` Leonid Krivoshein
2019-04-23 11:42 ` Leonid Krivoshein
2019-04-23 11:47 ` Leonid Krivoshein
2019-04-23 12:10 ` Michael A. Kangin
2019-04-23 12:02 ` Michael A. Kangin
2019-04-23 12:12 ` Leonid Krivoshein
2019-04-23 12:33 ` [Make-initrd] " Alexey Gladkov
2019-04-23 12:33 ` [make-initrd] " Alexey Gladkov
2019-04-23 8:50 ` Alexey Gladkov
2019-04-29 21:54 ` [make-initrd] handlers Michael A. Kangin
2019-04-29 22:04 ` Michael A. Kangin
2019-04-30 11:40 ` Alexey Gladkov
2019-04-30 11:40 ` Alexey Gladkov
2019-04-30 11:51 ` Michael A. Kangin
2019-04-30 16:07 ` Alexey Gladkov
2019-04-30 16:39 ` Michael A. Kangin
2019-04-30 16:49 ` Leonid Krivoshein
2019-05-03 0:37 ` Michael A. Kangin
2019-04-22 0:12 ` [make-initrd] [devel] syslinux Alexey Gladkov
2019-04-22 18:43 ` Leonid Krivoshein
2019-04-22 18:49 ` Michael A. Kangin
2019-04-22 19:07 ` Leonid Krivoshein
2019-04-22 18:56 ` Michael A. Kangin
2019-04-17 15:26 ` Leonid Krivoshein
2019-04-17 15:36 ` Michael A. Kangin
2019-04-17 16:16 ` Антон Мидюков
2019-04-17 18:03 ` Leonid Krivoshein
2019-04-17 17:06 ` Leonid Krivoshein
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=ef494041-105e-b868-5d4d-2748bf4a5191@gmail.com \
--to=klark.devel@gmail.com \
--cc=antohami@altlinux.org \
--cc=legion@altlinux.ru \
--cc=mak@complife.ru \
/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
Make-initrd development discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/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 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
public-inbox-index make-initrd
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.make-initrd
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git