New release 2.11.0 is available. Git repository ============== https://github.com/osboot/make-initrd.git http://git.altlinux.org/people/legion/packages/make-initrd.git Feedback and bug reports, as always, are welcomed. Changelog ========= Alexey Gladkov (24): Feature multipath: Add service file and multipathd Replace initrd-cp by initrd-put initrd-put: Add fallback to copy file initrd-put: Do not make lstat twice initrd-put: Ignore read errors initrd-put: Do not fail if unable to resolve the symbolic link initrd-put: Change some error codes initrd-put: Increase verbosity initrd-put: Show error message if popen fails initrd-put: Check destination before any actions TravisCI: Use Ubuntu 20.04 (Focal Fossa) build environment initrd-put: Add wrappers for tdestroy and twalk_r runtime: Fix service name runtime: Add rdlog= parameter runtime: Use nanoseconds to serialize udev events Feature luks: Run luks handler after mountdev runtime: Always print a message about mounting the device runtime: Wait for udev event queue and add pre/post hooks runtime: Check bootable conditions after each uevend handler runtime: Increased polling period tests: Add test for incorrect configuration (root partition + luks partiton) TravisCI: Use workspaces to cache binaries tests: Send all log messages to the /dev/console 2.11.0 Oleg Solovyov (3): Feature luks: decrypt using plymouth if present Feature plymouth: add missing label plugin Feature plymouth: include fonts -- Rgrds, legion
Здравствуйте!
Не один загрузочный iso теперь не собирается.
make-initrd --no-checks --no-depmod -v -k 5.4.69-std-def-alt1
...
put-tree: Copying '/lib/initrd' recursively ...
put-tree: Copying '/usr/share/make-initrd/data' recursively ...
put-tree: Copying '/usr/share/make-initrd/features/plymouth/data'
recursively ...
initrd-put: open: /usr/share/fonts/ttf/dejavu: No such file or directory
make[2]: *** [/usr/share/make-initrd/mk/make-initrd.mk:101: create]
Error 123
make[1]: *** [/usr/share/make-initrd/mk/make-initrd.mk:167:
process-config] Error 2
make: *** [/usr/share/make-initrd/mk/make-initrd.mk:157: all] Error 1
/usr/share/fonts/ttf/dejavu зачем понадобился make-initrd?
Для plymouth? Но у меня не собираются и образы без него.
06.10.2020 04:37, Alexey Gladkov пишет:у
> New release 2.11.0 is available.
>
> Git repository
> ==============
>
> https://github.com/osboot/make-initrd.git
> http://git.altlinux.org/people/legion/packages/make-initrd.git
>
> Feedback and bug reports, as always, are welcomed.
>
> Changelog
> =========
>
> Alexey Gladkov (24):
> Feature multipath: Add service file and multipathd
> Replace initrd-cp by initrd-put
> initrd-put: Add fallback to copy file
> initrd-put: Do not make lstat twice
> initrd-put: Ignore read errors
> initrd-put: Do not fail if unable to resolve the symbolic link
> initrd-put: Change some error codes
> initrd-put: Increase verbosity
> initrd-put: Show error message if popen fails
> initrd-put: Check destination before any actions
> TravisCI: Use Ubuntu 20.04 (Focal Fossa) build environment
> initrd-put: Add wrappers for tdestroy and twalk_r
> runtime: Fix service name
> runtime: Add rdlog= parameter
> runtime: Use nanoseconds to serialize udev events
> Feature luks: Run luks handler after mountdev
> runtime: Always print a message about mounting the device
> runtime: Wait for udev event queue and add pre/post hooks
> runtime: Check bootable conditions after each uevend handler
> runtime: Increased polling period
> tests: Add test for incorrect configuration (root partition + luks partiton)
> TravisCI: Use workspaces to cache binaries
> tests: Send all log messages to the /dev/console
> 2.11.0
>
> Oleg Solovyov (3):
> Feature luks: decrypt using plymouth if present
> Feature plymouth: add missing label plugin
> Feature plymouth: include fonts
>
--
С уважением, Антон Мидюков <antohami@basealt.ru>
06.10.2020 11:18, Антон Мидюков пишет: > Здравствуйте! > > Не один загрузочный iso теперь не собирается. > > make-initrd --no-checks --no-depmod -v -k 5.4.69-std-def-alt1 > > ... > > put-tree: Copying '/lib/initrd' recursively ... > put-tree: Copying '/usr/share/make-initrd/data' recursively ... > put-tree: Copying '/usr/share/make-initrd/features/plymouth/data' > recursively ... > initrd-put: open: /usr/share/fonts/ttf/dejavu: No such file or directory > make[2]: *** [/usr/share/make-initrd/mk/make-initrd.mk:101: create] > Error 123 > make[1]: *** [/usr/share/make-initrd/mk/make-initrd.mk:167: > process-config] Error 2 > make: *** [/usr/share/make-initrd/mk/make-initrd.mk:157: all] Error 1 > > /usr/share/fonts/ttf/dejavu зачем понадобился make-initrd? > > Для plymouth? Но у меня не собираются и образы без него. Там другая проблема: Adding propagator ... initrd-put: remove: /tmp/make-initrd.U6AheLX4n/5.4.69-std-def-alt1.initrd/img/bin: Directory not empty > > 06.10.2020 04:37, Alexey Gladkov пишет:у >> New release 2.11.0 is available. >> >> Git repository >> ============== >> >> https://github.com/osboot/make-initrd.git >> http://git.altlinux.org/people/legion/packages/make-initrd.git >> >> Feedback and bug reports, as always, are welcomed. >> >> Changelog >> ========= >> >> Alexey Gladkov (24): >> Feature multipath: Add service file and multipathd >> Replace initrd-cp by initrd-put >> initrd-put: Add fallback to copy file >> initrd-put: Do not make lstat twice >> initrd-put: Ignore read errors >> initrd-put: Do not fail if unable to resolve the symbolic link >> initrd-put: Change some error codes >> initrd-put: Increase verbosity >> initrd-put: Show error message if popen fails >> initrd-put: Check destination before any actions >> TravisCI: Use Ubuntu 20.04 (Focal Fossa) build environment >> initrd-put: Add wrappers for tdestroy and twalk_r >> runtime: Fix service name >> runtime: Add rdlog= parameter >> runtime: Use nanoseconds to serialize udev events >> Feature luks: Run luks handler after mountdev >> runtime: Always print a message about mounting the device >> runtime: Wait for udev event queue and add pre/post hooks >> runtime: Check bootable conditions after each uevend handler >> runtime: Increased polling period >> tests: Add test for incorrect configuration (root partition + >> luks partiton) >> TravisCI: Use workspaces to cache binaries >> tests: Send all log messages to the /dev/console >> 2.11.0 >> >> Oleg Solovyov (3): >> Feature luks: decrypt using plymouth if present >> Feature plymouth: add missing label plugin >> Feature plymouth: include fonts >> -- С уважением, Антон Мидюков <antohami@basealt.ru>
06.10.2020 11:56, Антон Мидюков пишет: > 06.10.2020 11:18, Антон Мидюков пишет: >> Здравствуйте! >> >> Не один загрузочный iso теперь не собирается. >> >> make-initrd --no-checks --no-depmod -v -k 5.4.69-std-def-alt1 >> >> ... >> >> put-tree: Copying '/lib/initrd' recursively ... >> put-tree: Copying '/usr/share/make-initrd/data' recursively ... >> put-tree: Copying '/usr/share/make-initrd/features/plymouth/data' >> recursively ... >> initrd-put: open: /usr/share/fonts/ttf/dejavu: No such file or directory >> make[2]: *** [/usr/share/make-initrd/mk/make-initrd.mk:101: create] >> Error 123 >> make[1]: *** [/usr/share/make-initrd/mk/make-initrd.mk:167: >> process-config] Error 2 >> make: *** [/usr/share/make-initrd/mk/make-initrd.mk:157: all] Error 1 >> >> /usr/share/fonts/ttf/dejavu зачем понадобился make-initrd? >> >> Для plymouth? Но у меня не собираются и образы без него. Если добавить в STAGE1 пакеты fonts-ttf-dejavu и plymouth-plugin-label, то будет ошибка: > > Adding propagator ... > > initrd-put: remove: > /tmp/make-initrd.U6AheLX4n/5.4.69-std-def-alt1.initrd/img/bin: > Directory not empty Что с ней делать? > >> >> 06.10.2020 04:37, Alexey Gladkov пишет:у >>> New release 2.11.0 is available. >>> >>> Git repository >>> ============== >>> >>> https://github.com/osboot/make-initrd.git >>> http://git.altlinux.org/people/legion/packages/make-initrd.git >>> >>> Feedback and bug reports, as always, are welcomed. >>> >>> Changelog >>> ========= >>> >>> Alexey Gladkov (24): >>> Feature multipath: Add service file and multipathd >>> Replace initrd-cp by initrd-put >>> initrd-put: Add fallback to copy file >>> initrd-put: Do not make lstat twice >>> initrd-put: Ignore read errors >>> initrd-put: Do not fail if unable to resolve the symbolic link >>> initrd-put: Change some error codes >>> initrd-put: Increase verbosity >>> initrd-put: Show error message if popen fails >>> initrd-put: Check destination before any actions >>> TravisCI: Use Ubuntu 20.04 (Focal Fossa) build environment >>> initrd-put: Add wrappers for tdestroy and twalk_r >>> runtime: Fix service name >>> runtime: Add rdlog= parameter >>> runtime: Use nanoseconds to serialize udev events >>> Feature luks: Run luks handler after mountdev >>> runtime: Always print a message about mounting the device >>> runtime: Wait for udev event queue and add pre/post hooks >>> runtime: Check bootable conditions after each uevend handler >>> runtime: Increased polling period >>> tests: Add test for incorrect configuration (root partition + >>> luks partiton) >>> TravisCI: Use workspaces to cache binaries >>> tests: Send all log messages to the /dev/console >>> 2.11.0 >>> >>> Oleg Solovyov (3): >>> Feature luks: decrypt using plymouth if present >>> Feature plymouth: add missing label plugin >>> Feature plymouth: include fonts >>> -- С уважением, Антон Мидюков <antohami@basealt.ru>
On Tue, Oct 06, 2020 at 11:18:04AM +0700, Антон Мидюков wrote: > Здравствуйте! > > Не один загрузочный iso теперь не собирается. > > make-initrd --no-checks --no-depmod -v -k 5.4.69-std-def-alt1 > > ... > > put-tree: Copying '/lib/initrd' recursively ... > put-tree: Copying '/usr/share/make-initrd/data' recursively ... > put-tree: Copying '/usr/share/make-initrd/features/plymouth/data' > recursively ... > initrd-put: open: /usr/share/fonts/ttf/dejavu: No such file or directory > make[2]: *** [/usr/share/make-initrd/mk/make-initrd.mk:101: create] Error > 123 > make[1]: *** [/usr/share/make-initrd/mk/make-initrd.mk:167: process-config] > Error 2 > make: *** [/usr/share/make-initrd/mk/make-initrd.mk:157: all] Error 1 > > /usr/share/fonts/ttf/dejavu зачем понадобился make-initrd? Да. Нужно добавить в зависимости. http://git.altlinux.org/people/legion/packages/make-initrd.git?p=make-initrd.git;a=blobdiff;f=features/plymouth/config.mk;h=cb186c3e97e12ce2d3bafa97949d27c2b366e9a6;hp=d0381a52199b8a9a8e8ac83f2373eaf04626249f;hb=a1e5a2729480bf0ec2d1211ec451d85998dce453;hpb=3017fa213bca09e8493eb78738349c89b657c0f0 > Для plymouth? Но у меня не собираются и образы без него. Интересно. С какой ошибкой ? > 06.10.2020 04:37, Alexey Gladkov пишет:у > > New release 2.11.0 is available. > > > > Git repository > > ============== > > > > https://github.com/osboot/make-initrd.git > > http://git.altlinux.org/people/legion/packages/make-initrd.git > > > > Feedback and bug reports, as always, are welcomed. > > > > Changelog > > ========= > > > > Alexey Gladkov (24): > > Feature multipath: Add service file and multipathd > > Replace initrd-cp by initrd-put > > initrd-put: Add fallback to copy file > > initrd-put: Do not make lstat twice > > initrd-put: Ignore read errors > > initrd-put: Do not fail if unable to resolve the symbolic link > > initrd-put: Change some error codes > > initrd-put: Increase verbosity > > initrd-put: Show error message if popen fails > > initrd-put: Check destination before any actions > > TravisCI: Use Ubuntu 20.04 (Focal Fossa) build environment > > initrd-put: Add wrappers for tdestroy and twalk_r > > runtime: Fix service name > > runtime: Add rdlog= parameter > > runtime: Use nanoseconds to serialize udev events > > Feature luks: Run luks handler after mountdev > > runtime: Always print a message about mounting the device > > runtime: Wait for udev event queue and add pre/post hooks > > runtime: Check bootable conditions after each uevend handler > > runtime: Increased polling period > > tests: Add test for incorrect configuration (root partition + luks partiton) > > TravisCI: Use workspaces to cache binaries > > tests: Send all log messages to the /dev/console > > 2.11.0 > > > > Oleg Solovyov (3): > > Feature luks: decrypt using plymouth if present > > Feature plymouth: add missing label plugin > > Feature plymouth: include fonts > > > -- > С уважением, Антон Мидюков <antohami@basealt.ru> > > _______________________________________________ > Make-initrd mailing list > Make-initrd@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/make-initrd -- Rgrds, legion
06.10.2020 14:27, Alexey Gladkov пишет: > On Tue, Oct 06, 2020 at 11:18:04AM +0700, Антон Мидюков wrote: >> Здравствуйте! >> >> Не один загрузочный iso теперь не собирается. >> >> make-initrd --no-checks --no-depmod -v -k 5.4.69-std-def-alt1 >> >> ... >> >> put-tree: Copying '/lib/initrd' recursively ... >> put-tree: Copying '/usr/share/make-initrd/data' recursively ... >> put-tree: Copying '/usr/share/make-initrd/features/plymouth/data' >> recursively ... >> initrd-put: open: /usr/share/fonts/ttf/dejavu: No such file or directory >> make[2]: *** [/usr/share/make-initrd/mk/make-initrd.mk:101: create] Error >> 123 >> make[1]: *** [/usr/share/make-initrd/mk/make-initrd.mk:167: process-config] >> Error 2 >> make: *** [/usr/share/make-initrd/mk/make-initrd.mk:157: all] Error 1 >> >> /usr/share/fonts/ttf/dejavu зачем понадобился make-initrd? > Да. Нужно добавить в зависимости. > > http://git.altlinux.org/people/legion/packages/make-initrd.git?p=make-initrd.git;a=blobdiff;f=features/plymouth/config.mk;h=cb186c3e97e12ce2d3bafa97949d27c2b366e9a6;hp=d0381a52199b8a9a8e8ac83f2373eaf04626249f;hb=a1e5a2729480bf0ec2d1211ec451d85998dce453;hpb=3017fa213bca09e8493eb78738349c89b657c0f0 и на plymouth-plugin-label: http://git.altlinux.org/people/legion/packages/make-initrd.git?p=make-initrd.git;a=blobdiff;f=features/plymouth/config.mk;h=d0381a52199b8a9a8e8ac83f2373eaf04626249f;hp=b84bfde91e96b3a644f07f37e13efd9705f8edb3;hb=3017fa213bca09e8493eb78738349c89b657c0f0;hpb=ab8a15439506bc7c27a9b87be83cace263940588 >> Для plymouth? Но у меня не собираются и образы без него. > Интересно. С какой ошибкой ? Писал другим письмом: Adding propagator ... initrd-put: remove: /tmp/make-initrd.U6AheLX4n/5.4.69-std-def-alt1.initrd/img/bin: Directory not empty -- С уважением, Антон Мидюков <antohami@basealt.ru>
On Tue, Oct 06, 2020 at 02:48:36PM +0700, Антон Мидюков wrote: > > > /usr/share/fonts/ttf/dejavu зачем понадобился make-initrd? > > Да. Нужно добавить в зависимости. > > > > http://git.altlinux.org/people/legion/packages/make-initrd.git?p=make-initrd.git;a=blobdiff;f=features/plymouth/config.mk;h=cb186c3e97e12ce2d3bafa97949d27c2b366e9a6;hp=d0381a52199b8a9a8e8ac83f2373eaf04626249f;hb=a1e5a2729480bf0ec2d1211ec451d85998dce453;hpb=3017fa213bca09e8493eb78738349c89b657c0f0 > > и на plymouth-plugin-label: > > http://git.altlinux.org/people/legion/packages/make-initrd.git?p=make-initrd.git;a=blobdiff;f=features/plymouth/config.mk;h=d0381a52199b8a9a8e8ac83f2373eaf04626249f;hp=b84bfde91e96b3a644f07f37e13efd9705f8edb3;hb=3017fa213bca09e8493eb78738349c89b657c0f0;hpb=ab8a15439506bc7c27a9b87be83cace263940588 Угу. > > > Для plymouth? Но у меня не собираются и образы без него. > > Интересно. С какой ошибкой ? > > Писал другим письмом: > > Adding propagator ... > > initrd-put: remove: > /tmp/make-initrd.U6AheLX4n/5.4.69-std-def-alt1.initrd/img/bin: Directory not > empty Я думаю как бы это воспроизвести. -- Rgrds, legion
06.10.2020 15:20, Alexey Gladkov пишет:
> On Tue, Oct 06, 2020 at 02:48:36PM +0700, Антон Мидюков wrote:
>>>> /usr/share/fonts/ttf/dejavu зачем понадобился make-initrd?
>>> Да. Нужно добавить в зависимости.
>>>
>>> http://git.altlinux.org/people/legion/packages/make-initrd.git?p=make-initrd.git;a=blobdiff;f=features/plymouth/config.mk;h=cb186c3e97e12ce2d3bafa97949d27c2b366e9a6;hp=d0381a52199b8a9a8e8ac83f2373eaf04626249f;hb=a1e5a2729480bf0ec2d1211ec451d85998dce453;hpb=3017fa213bca09e8493eb78738349c89b657c0f0
>> и на plymouth-plugin-label:
>>
>> http://git.altlinux.org/people/legion/packages/make-initrd.git?p=make-initrd.git;a=blobdiff;f=features/plymouth/config.mk;h=d0381a52199b8a9a8e8ac83f2373eaf04626249f;hp=b84bfde91e96b3a644f07f37e13efd9705f8edb3;hb=3017fa213bca09e8493eb78738349c89b657c0f0;hpb=ab8a15439506bc7c27a9b87be83cace263940588
> Угу.
>
>>>> Для plymouth? Но у меня не собираются и образы без него.
>>> Интересно. С какой ошибкой ?
>> Писал другим письмом:
>>
>> Adding propagator ...
>>
>> initrd-put: remove:
>> /tmp/make-initrd.U6AheLX4n/5.4.69-std-def-alt1.initrd/img/bin: Directory not
>> empty
> Я думаю как бы это воспроизвести.
>
Установить make-initrd-propagator и выполнить команду:
make-initrd --no-checks --no-depmod -v -k 5.4.69-std-def-alt1
FEATURES=propagator
--
С уважением, Антон Мидюков <antohami@basealt.ru>
On Tue, Oct 06, 2020 at 03:28:17PM +0700, Антон Мидюков wrote: > Установить make-initrd-propagator и выполнить команду: > > make-initrd --no-checks --no-depmod -v -k 5.4.69-std-def-alt1 > FEATURES=propagator Ага. В сизиф направлен 2.11.0-alt2, в котором добавлены зависимости и исправлен этот баг с каталогом. Хочу отметить, что у меня этот модуль из коробки не собирается из-за rules.mk:25 [1]. Там mkdir без -p и поэтому когда каталог firmware уже есть, то сборка падает. Судя по всему у вас firmware в сборочной среде нет. [1] http://git.altlinux.org/gears/m/make-initrd-propagator.git?p=make-initrd-propagator.git;a=blob;f=propagator/rules.mk;h=b0033204cd1c7d1f295daef0394bbc4d7f8c3ba6;hb=4eadad779b70c6cb5a42d57cc73ee04ccbb4cc12#l25 -- Rgrds, legion
06.10.2020 16:40, Alexey Gladkov пишет: > On Tue, Oct 06, 2020 at 03:28:17PM +0700, Антон Мидюков wrote: >> Установить make-initrd-propagator и выполнить команду: >> >> make-initrd --no-checks --no-depmod -v -k 5.4.69-std-def-alt1 >> FEATURES=propagator > Ага. В сизиф направлен 2.11.0-alt2, в котором добавлены зависимости и > исправлен этот баг с каталогом. Спасибо! Регулярки для x86 собрались нормально. А вот с aarch64 и armh проблема, которая проявляется только при сборке с задействованием qemu-binfmt. Нативно проблемы нет make-initrd --no-checks --no-depmod -v -k 5.4.69-std-def-alt1 /bin/mkdir: created directory './/lib/modules/5.4.69-std-def-alt1' put-tree: Copying '/lib/initrd' recursively ... initrd-put: copy_file_range: /lib/initrd/bin/busybox -> /bin/busybox: Function not implemented make[2]: *** [/usr/share/make-initrd/mk/make-initrd.mk:101: create] Error 123 make[1]: *** [/usr/share/make-initrd/mk/make-initrd.mk:167: process-config] Error 2 make: *** [/usr/share/make-initrd/mk/make-initrd.mk:157: all] Error 1 > Хочу отметить, что у меня этот модуль из коробки не собирается из-за > rules.mk:25 [1]. Там mkdir без -p и поэтому когда каталог firmware уже > есть, то сборка падает. Судя по всему у вас firmware в сборочной среде > нет. > > [1] http://git.altlinux.org/gears/m/make-initrd-propagator.git?p=make-initrd-propagator.git;a=blob;f=propagator/rules.mk;h=b0033204cd1c7d1f295daef0394bbc4d7f8c3ba6;hb=4eadad779b70c6cb5a42d57cc73ee04ccbb4cc12#l25 initrd для propagator должен быть пустой. Видимо, поэтому. -- С уважением, Антон Мидюков <antohami@basealt.ru>
On Wed, Oct 07, 2020 at 05:16:09PM +0700, Антон Мидюков wrote: > 06.10.2020 16:40, Alexey Gladkov пишет: > > On Tue, Oct 06, 2020 at 03:28:17PM +0700, Антон Мидюков wrote: > > > Установить make-initrd-propagator и выполнить команду: > > > > > > make-initrd --no-checks --no-depmod -v -k 5.4.69-std-def-alt1 > > > FEATURES=propagator > > Ага. В сизиф направлен 2.11.0-alt2, в котором добавлены зависимости и > > исправлен этот баг с каталогом. > > Спасибо! Регулярки для x86 собрались нормально. > > А вот с aarch64 и armh проблема, которая проявляется только при сборке с > задействованием qemu-binfmt. Нативно проблемы нет > > make-initrd --no-checks --no-depmod -v -k 5.4.69-std-def-alt1 > > /bin/mkdir: created directory './/lib/modules/5.4.69-std-def-alt1' > put-tree: Copying '/lib/initrd' recursively ... > initrd-put: copy_file_range: /lib/initrd/bin/busybox -> /bin/busybox: > Function not implemented > make[2]: *** [/usr/share/make-initrd/mk/make-initrd.mk:101: create] Error > 123 > make[1]: *** [/usr/share/make-initrd/mk/make-initrd.mk:167: process-config] > Error 2 > make: *** [/usr/share/make-initrd/mk/make-initrd.mk:157: all] Error 1 Прикольно. Я не знал, что кто-то не реализует эту функцию. Исправлю. > > Хочу отметить, что у меня этот модуль из коробки не собирается из-за > > rules.mk:25 [1]. Там mkdir без -p и поэтому когда каталог firmware уже > > есть, то сборка падает. Судя по всему у вас firmware в сборочной среде > > нет. > > > > [1] http://git.altlinux.org/gears/m/make-initrd-propagator.git?p=make-initrd-propagator.git;a=blob;f=propagator/rules.mk;h=b0033204cd1c7d1f295daef0394bbc4d7f8c3ba6;hb=4eadad779b70c6cb5a42d57cc73ee04ccbb4cc12#l25 > initrd для propagator должен быть пустой. Видимо, поэтому. У меня он был пустой. -- Rgrds, legion
On Wed, Oct 07, 2020 at 12:47:55PM +0200, Alexey Gladkov wrote:
> > initrd-put: copy_file_range: /lib/initrd/bin/busybox -> /bin/busybox:
> > Function not implemented
>
> Прикольно. Я не знал, что кто-то не реализует эту функцию. Исправлю.
В сизиф ушёл 2.11.0-alt3 c исправлением.
--
Rgrds, legion