{"id":7346,"date":"2019-02-02T00:09:11","date_gmt":"2019-02-01T23:09:11","guid":{"rendered":"https:\/\/pi3g.com\/?p=7346"},"modified":"2019-02-02T00:09:11","modified_gmt":"2019-02-01T23:09:11","slug":"alpine-3-9-0-initramfs-init-changes","status":"publish","type":"post","link":"https:\/\/pi3g.com\/de\/alpine-3-9-0-initramfs-init-changes\/","title":{"rendered":"Alpine 3.9.0 initramfs init \u00c4nderungen"},"content":{"rendered":"<p>Alpine 3.9.0 ships a new version of the init script in it\u2019s initramfs.<\/p>\n<p>left: Alpine 3.9.0, right: Alpine 3.8.2<\/p>\n<p><a href=\"https:\/\/pi3g.com\/wp-content\/uploads\/2019\/02\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"761\" height=\"105\" title=\"image\" style=\"display: inline; background-image: none;\" alt=\"image\" src=\"https:\/\/pi3g.com\/wp-content\/uploads\/2019\/02\/image_thumb.png\" border=\"0\"><\/a><\/p>\n<p>There are a number of interesting changes:<\/p>\n<ul>\n<li>better and earlier networking support for the boot process, with an additional kernel parameter for cmdline.txt: BOOTIF, allowing you to specify the device interface you want to use for boot purposes<\/li>\n<ul>\n<li>networking is started before the early console, which is probably very useful for debugging<\/li>\n<\/ul>\n<li>soft realtime clock is supported now, which should fix the problem with no hardware realtime clock available on the Raspberry Pi<\/li>\n<li>init as a new kernel parameter for cmdline.txt, allowing you to specify the init which will be run on switching into the newly setup system (default is \/sbin\/init )<\/li>\n<li>modloop verification support is added<\/li>\n<\/ul>\n<h1>More about modloop verification<\/h1>\n<blockquote>\n<p>if [ -f \/var\/cache\/misc\/*modloop*.SIGN.RSA.*.pub ]; then<\/p>\n<p>&nbsp; mkdir -p &#8220;$sysroot&#8221;\/var\/cache\/misc<\/p>\n<p><b>&nbsp; cp \/var\/cache\/misc\/*modloop*.SIGN.RSA.*.pub &#8220;$sysroot&#8221;\/var\/cache\/misc<\/b><\/p>\n<p>&nbsp; pkgs=&#8221;$pkgs libressl&#8221;<\/p>\n<p>fi<\/p>\n<\/blockquote>\n<p>This adds a preexisting key to the newly built system which lives under $sysroot before the switch at the end of execution of this init script, and adds the package libressl.<\/p>\n<p>This is the key which is shipped with the initramfs:<\/p>\n<p><a href=\"https:\/\/pi3g.com\/wp-content\/uploads\/2019\/02\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"188\" title=\"image\" style=\"display: inline; background-image: none;\" alt=\"image\" src=\"https:\/\/pi3g.com\/wp-content\/uploads\/2019\/02\/image_thumb-1.png\" border=\"0\"><\/a><\/p>\n<h1>More about init<\/h1>\n<p>You can specify the init command which is supposed to be ultimately executed as a new kernel parameter:<\/p>\n<p><a href=\"https:\/\/pi3g.com\/wp-content\/uploads\/2019\/02\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"841\" height=\"77\" title=\"image\" style=\"display: inline; background-image: none;\" alt=\"image\" src=\"https:\/\/pi3g.com\/wp-content\/uploads\/2019\/02\/image_thumb-2.png\" border=\"0\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Alpine 3.9.0 enth\u00e4lt eine neue Version des Init-Skripts in seinem initramfs. links: Alpine 3.9.0, rechts: Alpine 3.8.2 Es gibt eine Reihe interessanter \u00c4nderungen: bessere und fr\u00fchere Netzwerkunterst\u00fctzung f\u00fcr den Boot-Prozess, mit einem zus\u00e4tzlichen Kernelparameter f\u00fcr cmdline.txt: BOOTIF, mit dem Sie die Ger\u00e4teschnittstelle angeben k\u00f6nnen, die Sie f\u00fcr...<\/p>","protected":false},"author":830,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[401],"tags":[417,464,466],"class_list":["post-7346","post","type-post","status-publish","format-standard","hentry","category-alpine-linux","tag-alpine","tag-init","tag-initramfs"],"_links":{"self":[{"href":"https:\/\/pi3g.com\/de\/wp-json\/wp\/v2\/posts\/7346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pi3g.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pi3g.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pi3g.com\/de\/wp-json\/wp\/v2\/users\/830"}],"replies":[{"embeddable":true,"href":"https:\/\/pi3g.com\/de\/wp-json\/wp\/v2\/comments?post=7346"}],"version-history":[{"count":1,"href":"https:\/\/pi3g.com\/de\/wp-json\/wp\/v2\/posts\/7346\/revisions"}],"predecessor-version":[{"id":7347,"href":"https:\/\/pi3g.com\/de\/wp-json\/wp\/v2\/posts\/7346\/revisions\/7347"}],"wp:attachment":[{"href":"https:\/\/pi3g.com\/de\/wp-json\/wp\/v2\/media?parent=7346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pi3g.com\/de\/wp-json\/wp\/v2\/categories?post=7346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pi3g.com\/de\/wp-json\/wp\/v2\/tags?post=7346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}