X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) by lists.alpinelinux.org (Postfix) with ESMTP id 1995DF8318C for ; Fri, 29 Mar 2019 18:19:37 +0000 (UTC) Received: by mail-ua1-f42.google.com with SMTP id d5so995128uan.6 for ; Fri, 29 Mar 2019 11:19:37 -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 :content-transfer-encoding; bh=Dr+egI6c2v805d2djvvbmeZTBP3kBfP8Ph9TPvmqQD0=; b=B3+5dEs0FmFnbGFWoDu1gu9MMw/E+/V6XNBYPnbDAwfN8vT2FnO9Kc8ADbSKMmd5Jt 2wcUrW98FiDpAoNmMkliDNzuabldIMrrWwfLsCxgze+vMlwf2p8QO+o1UbQXInPIIIRZ JxXSNGK01/nX/ac5v7Cx9SGMKW8P1o3uv03bjDaA0xpCxQ6ZhZ3b86MxiZaZ0x2BsZeD j8PvO++Q6nRYa1B+RlcsO2BEsRDZHry8PKSBGbUhxJVegD7cp1dAKjW7zeiRmGCvW3R8 TKj1awj0D+rQOoSSyl9bpvf7PO0ax2ZkDZ+BmBd5KK76R6JK+lDcftEvK4nZJT/vSl5+ YMuQ== 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 :content-transfer-encoding; bh=Dr+egI6c2v805d2djvvbmeZTBP3kBfP8Ph9TPvmqQD0=; b=S3k9jw0VBce9sxEg7KvhNTvtt+hlV4cuIuv442ownnJVcX8gYeIWbeHOcXFiY7PpQf i9lHfZx9EnjRyu8JTdyu4QdTPG2muKLGpuSzpfRNzPtyD6V0zPFsYxIC1Sgepps6q4R8 E2wzaNKhkLjerU4s+IOtfMOzTKOQiKfApp9NZYYmp+0fICJ8r+gBZJ2c8cxueK+IU3Ni MLOgG6vKxnLabzUxlmqBBqg8bMjdGF+xxCSxI812LSXt1gw66sVAfiZGfVPqUeIk/oQI 03iJomSuYtP9qX3hKeDdEvpS/E6xhNFEVLqvNjVSGvfzQQ+iFGAWFs9mBqjB6de1d8u5 kc4w== X-Gm-Message-State: APjAAAWXMZlpxlEIlKRtXMeGFTr+bZvZx/PxGcvaepBhHHucnEbC2WxF gn/N0R+OEk5aKX4DUNShbGSrg8BlbqsBRN3GJiPoAw== X-Google-Smtp-Source: APXvYqyWQTamKS1PpSLkIPf4vJOv2XIyf7kl7V8QpT2fH3ieTO1U4cQ0rkz21thj/Zw92qJey6YNLN53v/DLee8bQtI= X-Received: by 2002:ab0:2144:: with SMTP id t4mr5274170ual.65.1553883576181; Fri, 29 Mar 2019 11:19:36 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 From: Magicloud Magiclouds Date: Sat, 30 Mar 2019 02:17:09 +0800 Message-ID: Subject: [alpine-devel] Some questions about initramfs-init. To: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I'd like to propose a rewrite of the initrd `init` script. Because I think it is quite mixed up of booting logic, and missing some customization possibilities. But before that, I need to get some questions clear. In following discussion, "stage 1" means the initrd system (before switch_root), "stage 2" means the actual system end user uses (after switch_root). 1. Why there is a keymap setup? I cannot see the necessity of it except for fallback/single shell. 2. Why networking is after nlplug-findfs? Can I bring up network (if needed) before nlplug-findfs? 3. Since nlplug-findfs already output a repofile, why there is a find_boot_repositories soon after to overwrite repofile? 4. Since apk works without /etc/apk/arch, why overwrite it with `apk --print-arch`, instead of just removing it? 5. The script contains two ways of using repofile. One is using it directly as "--repositories-file", the other is joining its content with "--repository". What is the difference? Thanks. --=20 =E7=AB=B9=E5=AF=86=E5=B2=82=E5=A6=A8=E6=B5=81=E6=B0=B4=E8=BF=87 =E5=B1=B1=E9=AB=98=E5=93=AA=E9=98=BB=E9=87=8E=E4=BA=91=E9=A3=9E --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---