Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 18A10780FCB for <~alpine/users@lists.alpinelinux.org>; Fri, 4 Sep 2020 19:01:50 +0000 (UTC) Received: by mail-lj1-f177.google.com with SMTP id y4so9187041ljk.8 for <~alpine/users@lists.alpinelinux.org>; Fri, 04 Sep 2020 12:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rBEw9WjigvsjgZM49/e9hGCuFHkdG2kMIZ9PiueV2zA=; b=betadKBu2jhiVYsw6weHcWQ9vGr3VCFbeTnKLqnRH4kOePob2GgtjLLluREJzDlxpK fkd/HGe8z+SSf3bwkxDIWZIxlmmazcA4zhXo4wuDA6nIicYtYpW4X2xRlWntXCHBeQry R7pw4fYntde0g6wvglwqjAqUt036e+eBXL/3wROhaGOWT1j6sJotemoKiW9E4akM1oAR MyKhXLI9e2KfOk87mQJYksN50WWIX8+J3w7ibSm4fFBsnc1Gr88Sn6DUOEfd++ZyNFZ2 0DxNpmSZ4Lwtt//regyXilrJLqwbMdvp+t3Id1893vZjhE5drOE+w3O61K26vSH61LPa PBGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rBEw9WjigvsjgZM49/e9hGCuFHkdG2kMIZ9PiueV2zA=; b=QlCYD+jjHqsL/VhvSUIBqlr3O+WK3tWYO/Npf0gBgV38V/C/Zq2IGxhkqIkT7uWlr2 WMkgLBMCXsS4waTPJe7JszHb+eTi2cbz0+2ldRm5NvaHqnbNy/1f1N4dCxHSGyyVjlnE UrohEGj4OrM0bvXbGtN3xrj1R0YCT+/87/ohQty4i/8M/FXUmohqAdBdJ1do34EET5vf Kk/OyfF0mZ+QvEWD/TUsS4MoBdUSjyIu9NvbtRVpadzHVcgD9qtuJS1tTfGsgyVxMI33 3gWmJ32B8WbQdl5VbBp/Q9ymM94oUOE/Mjj5N23Rpr5lhGzuZ/2ub7ZYRsApTBB974Z9 +oDw== X-Gm-Message-State: AOAM53255vu2P3hYgbMpWgqQEqk8iLCiMB+elGlx1dfLDVosofX5rsxs /lK2RQG4Gt/FuHb0QZHEpEiMA80tnpeCa/9pmddIHtiS6nY= X-Google-Smtp-Source: ABdhPJxa18hGRIrP9lVEmfdQT1rKLtVdc4NxZQp7pOqAGtqk78VEySUJmnc00tx4k3lfD+kdB5j6s+DKVsUgxm1Th3E= X-Received: by 2002:a2e:9ad9:: with SMTP id p25mr4175625ljj.256.1599246109461; Fri, 04 Sep 2020 12:01:49 -0700 (PDT) MIME-Version: 1.0 From: MyFirst Name Date: Fri, 4 Sep 2020 15:55:12 +0000 Message-ID: Subject: Custom ISO (mkimage) fails when using custom kernel To: ~alpine/users@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="0000000000004351e305ae8180e1" --0000000000004351e305ae8180e1 Content-Type: text/plain; charset="UTF-8" I can create a customized live Alpine Linux ISO, using mkimage as described in the wiki just fine and it works perfectly. I can even go one step further and modify and build some packages to a local repository and then tell mkimage to use them, and it also works perfectly. As long as I don't modify the "linux-lts" (i.e. the kernel) package. My final goal was to create and use a custom kernel, one built with only the modules I need. I did that, but when I tried to create a live ISO with it, the process fails right after signing the "modloop", and the error message is: "cp: can't stat '/tmp/update-kernel######/boot/config': No such file or directory" I tried to simplify things and instead of using a custom kernel config I just used the default ones. The only thing I changed was to update the kernel makefile and set march and mtune to native. After that I simply executed abuild checksum abuild -rd Then I passed the path of the local repository where the package was created to mkimage. Any idea of what I might be doing wrong? I don't know if that might be a problem, but I am doing all that while running Alpine Live (that is, Alpine was not installed on the machine) --0000000000004351e305ae8180e1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I can create a customized live Alpine Linux ISO, usin= g mkimage as described in the wiki just fine and it work= s perfectly. I can even go one step further and modify and build some packa= ges to a local repository and then tell mkimage to use them, and it also wo= rks perfectly. As long as I don't modify the "linux-lts" (i.e= . the kernel) package.

My final goal was to create= and use a custom kernel,=C2=A0 one built with only the modules I need. I d= id that, but when I tried to create a live ISO with it, the process fails r= ight after signing the "modloop", and the error message is:
=
"cp: can't stat '/tmp/update-kernel######/boot/config'= ;: No such file or directory"

I tr= ied to simplify things and instead of using a custom kernel config I just u= sed the default ones. The only thing I changed was to update the kernel mak= efile and set march and mtune to native. After that I simply executed
=

abuild checksum
abuild -rd
=
Then I passed the path of the local repository where the pac= kage was created to mkimage.

Any idea of what = I might be doing wrong? I don't know if that might be a problem, but I = am doing all that while running Alpine Live (that is, Alpine was not instal= led on the machine)

--0000000000004351e305ae8180e1--