From: Alexey Gladkov <gladkov.alexey@gmail.com> To: make-initrd@lists.altlinux.org Subject: [make-initrd] I: portability test (+ubuntu +fedora) Date: Thu, 3 Jun 2021 16:07:05 +0200 Message-ID: <20210603140705.3iw7mzi6x6kkhi3u@example.org> (raw) Привет! Ещё в прошлой версии я упоминал, что переписал тесты. Хотел отдельно коснуться этого, что было сделано. Я полностью переделал концепцию тестов. Теперь они не содержат предсобранных образов. Каждый тест разбит на несколько этапов: 1. Компиляция в окружении дистрибутива (podman); 2. Создание системного образа на основе docker-образа дистрибутива (podman); 3. Создание kickstart-образа в окружении дистрибутива (podman); 4. Загрузка, разбиение дисков, заливка системного образа, генерация initrd и установка bootloader (qemu); 5. Чистая загрузка с тем, что получилось (qemu). Таким образом проверяется не только достижение $INIT, но и то, что система смогла загрузиться до определённого момента и свалиться после initrd. Пока проверяется всего 13 вариантов разбиения дисков: * btrfs-subvol * luks * luks+lukskey-plain * luks+lukskey-raw * luks-over-lvm * luks-over-raid1 * lvm * lvm+luks * partition * raid1 * raid1-degraded * raid1+raid5 * raid5 Кроме ALTLinux в тесты добавлены другие дистрибутивы: * altlinux, sysvinit; * fedora:latest, systemd; * ubuntu:hirsute, systemd. Для sysvinit успехом считается выход на runlevel 3. Для systemd достижение systemd-user-sessions.service. https://github.com/osboot/make-initrd/actions/runs/902836900 -- Rgrds, legion
reply other threads:[~2021-06-03 14:07 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20210603140705.3iw7mzi6x6kkhi3u@example.org \ --to=gladkov.alexey@gmail.com \ --cc=make-initrd@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
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