From nobody Thu Mar 28 14:35:03 2024 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 --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by lists.alpinelinux.org (Postfix) with ESMTP id DAE52F816AF for ; Fri, 29 Mar 2019 18:34:59 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 6BF159E28DC; Fri, 29 Mar 2019 18:34:59 +0000 (UTC) Received: from ncopa-desktop.copa.dup.pw (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 96E759E1EEE; Fri, 29 Mar 2019 18:34:58 +0000 (UTC) Date: Fri, 29 Mar 2019 19:34:53 +0100 From: Natanael Copa To: Magicloud Magiclouds Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Some questions about initramfs-init. Message-ID: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 30 Mar 2019 02:17:09 +0800 Magicloud Magiclouds wrote: > 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. We have support for encrypted apkovls, for "disk less" installs. You may need to type the password to decrypt the configuration. > 2. Why networking is after nlplug-findfs? Can I bring up network (if > needed) before nlplug-findfs? nlplug-findfs also serves as coldplug, and enumerates all the current devices so all kernel modules gets loaded. Without this there is no guarantee that the network driver is automatically detected and loaded. > 3. Since nlplug-findfs already output a repofile, why there is a > find_boot_repositories soon after to overwrite repofile? I will have to consult the source code and git log. I don't remember. > 4. Since apk works without /etc/apk/arch, why overwrite it with `apk > --print-arch`, instead of just removing it? Because it was an upgrade path from 32bit x86 to 64 bit diskless installs. You can simply copy an apkovl from 32 bit install to a 64 bit boot USB and the entire install is 64 bit after that. Without the --print-arch logic it would error because it wouldnt find the packages. > 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? IIRC, --repositories-file will replace the default /etc/apk/repositories, while --repository will append the specified repo to whatever is listed in /etc/apk/repositories > > Thanks. > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-vs1-f66.google.com (mail-vs1-f66.google.com [209.85.217.66]) by lists.alpinelinux.org (Postfix) with ESMTP id D25B0F81633 for ; Fri, 29 Mar 2019 18:47:54 +0000 (UTC) Received: by mail-vs1-f66.google.com with SMTP id f22so1900922vso.7 for ; Fri, 29 Mar 2019 11:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=RoCrG9SvHk2ug0tVlSLNqwp42O1ZHEikqavKaGcug4Y=; b=sCG5PYWqh8lsAENp2MS+aRya+w3iTxMRlW2w/EEt106ugvPs4bstJflGvSJU1Xdryu dqSHjVWPbC0N3cL1qTmiPSh/X1YsNFgHDzKBkCUHL9RjHTpAq3v52MnE1Kp8gq6TZB/G GvBQYa+WiUYBSL+M/Puyxm64QopEIpafs4Xhpz6hm6+hwljsEBO43vLN3u7bknoH3IhL /ea0JdCAqAbPYGQSepEWNjXxTvWXI/z8HzYb+WiwEFSVODW4j3s591LnWIC1fU4F6dJr CXGNjiwZrJpeC4icSn3mZl5HLSS8blyXhGBaByGRZOkEv5d2vK8ejSwNSveD3bE0kOJI IzlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=RoCrG9SvHk2ug0tVlSLNqwp42O1ZHEikqavKaGcug4Y=; b=e5kLsmYOYbInqqQQXlk57FmzPCS1jXxQpcfGEbJzRZ1T+GIOt6w5ePAHzf2Q3VIwnO 9G1bYjq5a4YBsIYg/pj5H3lU3xZYyBj0th+VNcdWFWZw//2yqZ1Czs58/9+h8WWp7Dmq eMN5Q3iOZmN8fozMg2G3zpYbNnUq5TloTna95uueWNsO1hPTPHoxvsd+I2W6DDj1XpI7 WVm9cmLbxPTrSd4kyhfWdx0SNq7t6ochxNW7H/DbCUv0gbhHxkyTtOIu62OJSlGYrPeu fqaF1X1f0NIIPuHYjrMbAvPkg8DW9eFKfX8Q8IGlGsdQhl1PV2OIIwrwXadLve3Xgyn5 WICA== X-Gm-Message-State: APjAAAUk8MsT0GfD6pi+6TG4V+n2Zoa+LLQKFETBwXhBQA035SexThkT OpWFPvXyhMr9hRYJbYiBhTBIBdL5Ss9vEvEhDIQ+ng== X-Google-Smtp-Source: APXvYqx+dqAEDytAk8cfd0ZcRQ4pg2brTeReaFZNz90b5enHMIbYym/SvxePgyXIUY4Isi573ik6iBLEt/AgfpJzvwg= X-Received: by 2002:a67:8e06:: with SMTP id q6mr31039418vsd.199.1553885274261; Fri, 29 Mar 2019 11:47:54 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> In-Reply-To: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> From: Magicloud Magiclouds Date: Sat, 30 Mar 2019 02:45:27 +0800 Message-ID: Subject: Re: [alpine-devel] Some questions about initramfs-init. To: Natanael Copa Cc: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks. I still do not get the arch part. Detail is after the question. On Sat, Mar 30, 2019 at 2:35 AM Natanael Copa wrote= : > > On Sat, 30 Mar 2019 02:17:09 +0800 > Magicloud Magiclouds wrote: > > > 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. > > We have support for encrypted apkovls, for "disk less" installs. You > may need to type the password to decrypt the configuration. Ah, I forgot that requirement. > > > 2. Why networking is after nlplug-findfs? Can I bring up network (if > > needed) before nlplug-findfs? > > nlplug-findfs also serves as coldplug, and enumerates all the current > devices so all kernel modules gets loaded. Without this there is no > guarantee that the network driver is automatically detected and loaded. I see. > > > 3. Since nlplug-findfs already output a repofile, why there is a > > find_boot_repositories soon after to overwrite repofile? > > I will have to consult the source code and git log. I don't remember. Just FYI, from line 520, if there is no network requirement, nlplug-findfs (in line 528) gets the option "-b $repofile". Then in line 667, $repofile is overwrite by find_boot_repositories. > > > 4. Since apk works without /etc/apk/arch, why overwrite it with `apk > > --print-arch`, instead of just removing it? > > Because it was an upgrade path from 32bit x86 to 64 bit diskless > installs. You can simply copy an apkovl from 32 bit install to a 64 bit > boot USB and the entire install is 64 bit after that. Without the > --print-arch logic it would error because it wouldnt find the packages. I do not think I followed. I can see the following case. Say my apkovl is 32bit, so $sysroot/etc/apk/arch is x86 (I guess, I do not have a 32bit env to check). So current logic overwrites it with x86_64, so following apk bootstrap uses 64bit packages. But if just removing the 32bit arch file, would not apk in new boot USB (which contains 64 bit system) using 64bit packages by default? > > > 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? > > IIRC, --repositories-file will replace the > default /etc/apk/repositories, while --repository will append the > specified repo to whatever is listed in /etc/apk/repositories I see. > > > > > > > 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 And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-vs1-f66.google.com (mail-vs1-f66.google.com [209.85.217.66]) by lists.alpinelinux.org (Postfix) with ESMTP id 95730F8320A for ; Sun, 31 Mar 2019 10:18:32 +0000 (UTC) Received: by mail-vs1-f66.google.com with SMTP id d8so2776720vsp.2 for ; Sun, 31 Mar 2019 03:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=WLGCxMaTiU3v60cNbIT38GnrP0Qff1tjiT8kuannTCU=; b=F7UmUe4ZuZ9nI5slLwrLQVCrDuGGKoI8sMn3tJxSusC8sXjsG7wHvSfabREBq5YZOw K2EKMKFIOeDifaZxS6BB8cKwXNFxZp4kBAD1q8OM/KCJGPce6UOWfHEQDfLG1RKT+s43 ufnWvVraxM1oFff9qoT7ZLsnQTS6C3thK2RytX+CAJikg5XFtkD/jOsbKLOIdFRwNJgc 7FH2ZlwkdTTkQIDh3cLSKPUJEIhRpbWU2ngzgJweDCIv/Pqfi8Eeu2EeasEVRQBKYwYg fHzgjRtDRsg5vC6DNc3iXOuHrnUV1eMqD54qnKyLLwoR40rvAKCuiNK0qwTp/LMaeROm 4QVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=WLGCxMaTiU3v60cNbIT38GnrP0Qff1tjiT8kuannTCU=; b=r0X9x2EhlV5vnsQJOSTEWYo2pwejXrqSIORnsKry/Q4l6b46HOWM7Ek+5GLwkVTxYK seo9mTpQbTHrmZzIa6DwGA7NYnxuYo7aZ/ArNF0+T/n88s2ImgIR1NLrv9TYsFOQ4Vty szzdkd25pFgOEIYVT6aAylHVBaKgWYIaUOqNNXZFNwl9s3eB/teo493Ixewlm8Lf5ZG0 i+z43rxuEtOhjbgCwHVXYKZAWTP7wpBz1+Qm98ecS2XAEt/k82ughZzPd/FC8plOcfzj Eh+gz6A5Qd2HV9qK++rx74O27dy018CTQX8NxuxgPd3mDkPg45XRztNSzWd+UuYaB2sq vW3A== X-Gm-Message-State: APjAAAVj3sbigLgckTZ2YF7e6I9b/SyGRrVmZ0UVq2mmy0bqs+AM5dor efQVGrZLOxCxPgwW4QjZjlEu8Vf3EFS90wRp1STL2g== X-Google-Smtp-Source: APXvYqxxuK5DMjhDCtM2FwctDztwVgXHlV0IXk8RgqSXqQFlsyFKEBeT+T2rR3dSIrBv6Z5zCbuVSQOPeAR33+3K1yU= X-Received: by 2002:a67:8c42:: with SMTP id o63mr2482561vsd.160.1554027512115; Sun, 31 Mar 2019 03:18:32 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> In-Reply-To: From: Magicloud Magiclouds Date: Sun, 31 Mar 2019 18:16:03 +0800 Message-ID: Subject: Re: [alpine-devel] Some questions about initramfs-init. To: Natanael Copa Cc: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I think I get why overwriting $repofile, it is because of the relocate_mount. But if that, "nlplug_findfs -b" call seems non-sense. Also, where is $ovl_unmount defined? On Sat, Mar 30, 2019 at 2:45 AM Magicloud Magiclouds wrote: > > Thanks. I still do not get the arch part. Detail is after the question. > > On Sat, Mar 30, 2019 at 2:35 AM Natanael Copa wro= te: > > > > On Sat, 30 Mar 2019 02:17:09 +0800 > > Magicloud Magiclouds wrote: > > > > > 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. > > > > We have support for encrypted apkovls, for "disk less" installs. You > > may need to type the password to decrypt the configuration. > Ah, I forgot that requirement. > > > > > 2. Why networking is after nlplug-findfs? Can I bring up network (if > > > needed) before nlplug-findfs? > > > > nlplug-findfs also serves as coldplug, and enumerates all the current > > devices so all kernel modules gets loaded. Without this there is no > > guarantee that the network driver is automatically detected and loaded. > I see. > > > > > 3. Since nlplug-findfs already output a repofile, why there is a > > > find_boot_repositories soon after to overwrite repofile? > > > > I will have to consult the source code and git log. I don't remember. > Just FYI, from line 520, if there is no network requirement, > nlplug-findfs (in line 528) gets the option "-b $repofile". Then in > line 667, $repofile is overwrite by find_boot_repositories. > > > > > 4. Since apk works without /etc/apk/arch, why overwrite it with `apk > > > --print-arch`, instead of just removing it? > > > > Because it was an upgrade path from 32bit x86 to 64 bit diskless > > installs. You can simply copy an apkovl from 32 bit install to a 64 bit > > boot USB and the entire install is 64 bit after that. Without the > > --print-arch logic it would error because it wouldnt find the packages. > I do not think I followed. > > I can see the following case. Say my apkovl is 32bit, so > $sysroot/etc/apk/arch is x86 (I guess, I do not have a 32bit env to > check). So current logic overwrites it with x86_64, so following apk > bootstrap uses 64bit packages. > > But if just removing the 32bit arch file, would not apk in new boot > USB (which contains 64 bit system) using 64bit packages by default? > > > > > 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? > > > > IIRC, --repositories-file will replace the > > default /etc/apk/repositories, while --repository will append the > > specified repo to whatever is listed in /etc/apk/repositories > I see. > > > > > > > > > > > > Thanks. > > > > > > > > -- > =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 > > And for G+, please use magiclouds#gmail.com. --=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 And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-vs1-f66.google.com (mail-vs1-f66.google.com [209.85.217.66]) by lists.alpinelinux.org (Postfix) with ESMTP id 9E7C6F84D08 for ; Sun, 31 Mar 2019 10:47:07 +0000 (UTC) Received: by mail-vs1-f66.google.com with SMTP id e2so3109912vsc.13 for ; Sun, 31 Mar 2019 03:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=r9oAX1148PA4XzCHql9dybTo6/vLbfx09NrHCivOX80=; b=leE8cdUaWIaLdz52Y2g4Ibc11tgUWK0SCK9Rkl3sKrNybndxAs/lljCm+5piwPpMf9 3qhC/LCMT1V6+sTqu3b/sk+Ixv5mf38f4It3fsj9fkEl1JCrTyk813Z+ZZAD93eMWJHS a3SYkMzMk+vPGHT6Y5Sw2S9QF1TaGrPg4qu6g+PFa8CcXbkMdwdeFcgYisPbx99hKyjF nv7iEQpuqyYG2549MTK9qmDNi2QsLjWxqBAhxTDg/NEYcKvZrvHvYT4cl2H4gziul/UI JWBi9G1Ida3uwkXpE6OjsnnUr88Xqdh3mczsDqhnRffvGYvRrGI57O3g6ib9dPb90Rpz SIbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=r9oAX1148PA4XzCHql9dybTo6/vLbfx09NrHCivOX80=; b=HPjC/85LqSq1TIaDUbOo/qjnPW2yVc3zHKZXQaR6MLm3qPThE7evHblktP57xlgd7P ZCE7+OfrD2tdclku2bUU1XpuURJ1FU4Byc5tkW+Sm5BKMrphKFlXXDuJXAmgWplZIgm3 Lt8b7xxXfLQ/nAtLJUlW6l3AiTwuYvHN/YhGhDNA6mBXUxt7WEkf90ByNmT1sso4xP52 cqRxC0qvTbKM0ohy8AwDCshrZ6VpxI07HNZyMiTc3SjeWcEqCxTRCfJwuyRz2lw8c0pE vacJ4UAYr1PAwFBhjNw6Ff6l7hUiZLJWU5a451uDvq/UOPs4kmXY4nK47cLdwcVMrpC3 eTHQ== X-Gm-Message-State: APjAAAUSg51EKKTab5xdwMbaNIgrYG7+YK0sN/mOd+zfXgKMxdM+8wQt YuMc3P3aSwjqS5sm8fNolX9VSrg8dafZ5ygaC1OWXg== X-Google-Smtp-Source: APXvYqxAJC07FOqYcnwnyjif97QluHCnOr+WGx8bKoCg+NRUGdQ91cax9N7rdgwONtkWYkwBevqIGQBXjs/njH+DD6o= X-Received: by 2002:a67:7b52:: with SMTP id w79mr35490325vsc.200.1554029227306; Sun, 31 Mar 2019 03:47:07 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> In-Reply-To: From: Magicloud Magiclouds Date: Sun, 31 Mar 2019 18:44:38 +0800 Message-ID: Subject: Re: [alpine-devel] Some questions about initramfs-init. To: Natanael Copa Cc: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable And thinking about it, I am confused on why relocate_mount so many times. There are three calls. 1. if apkovl contains fstab; 2. else if stage1 contains fstab; 3. else if packages install a fstab. But consider that there is no umount call, and move mount only occurs before switch_root. I cannot see the point of relocating them during stage1. On Sun, Mar 31, 2019 at 6:16 PM Magicloud Magiclouds wrote: > > I think I get why overwriting $repofile, it is because of the > relocate_mount. But if that, "nlplug_findfs -b" call seems non-sense. > > Also, where is $ovl_unmount defined? > > On Sat, Mar 30, 2019 at 2:45 AM Magicloud Magiclouds > wrote: > > > > Thanks. I still do not get the arch part. Detail is after the question. > > > > On Sat, Mar 30, 2019 at 2:35 AM Natanael Copa w= rote: > > > > > > On Sat, 30 Mar 2019 02:17:09 +0800 > > > Magicloud Magiclouds wrote: > > > > > > > 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. > > > > > > We have support for encrypted apkovls, for "disk less" installs. You > > > may need to type the password to decrypt the configuration. > > Ah, I forgot that requirement. > > > > > > > 2. Why networking is after nlplug-findfs? Can I bring up network (i= f > > > > needed) before nlplug-findfs? > > > > > > nlplug-findfs also serves as coldplug, and enumerates all the current > > > devices so all kernel modules gets loaded. Without this there is no > > > guarantee that the network driver is automatically detected and loade= d. > > I see. > > > > > > > 3. Since nlplug-findfs already output a repofile, why there is a > > > > find_boot_repositories soon after to overwrite repofile? > > > > > > I will have to consult the source code and git log. I don't remember. > > Just FYI, from line 520, if there is no network requirement, > > nlplug-findfs (in line 528) gets the option "-b $repofile". Then in > > line 667, $repofile is overwrite by find_boot_repositories. > > > > > > > 4. Since apk works without /etc/apk/arch, why overwrite it with `ap= k > > > > --print-arch`, instead of just removing it? > > > > > > Because it was an upgrade path from 32bit x86 to 64 bit diskless > > > installs. You can simply copy an apkovl from 32 bit install to a 64 b= it > > > boot USB and the entire install is 64 bit after that. Without the > > > --print-arch logic it would error because it wouldnt find the package= s. > > I do not think I followed. > > > > I can see the following case. Say my apkovl is 32bit, so > > $sysroot/etc/apk/arch is x86 (I guess, I do not have a 32bit env to > > check). So current logic overwrites it with x86_64, so following apk > > bootstrap uses 64bit packages. > > > > But if just removing the 32bit arch file, would not apk in new boot > > USB (which contains 64 bit system) using 64bit packages by default? > > > > > > > 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? > > > > > > IIRC, --repositories-file will replace the > > > default /etc/apk/repositories, while --repository will append the > > > specified repo to whatever is listed in /etc/apk/repositories > > I see. > > > > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > > -- > > =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 > > > > And for G+, please use magiclouds#gmail.com. > > > > -- > =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 > > And for G+, please use magiclouds#gmail.com. --=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 And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lists.alpinelinux.org (Postfix) with ESMTP id 23F12F84E09 for ; Tue, 9 Apr 2019 13:16:07 +0000 (UTC) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x39DAfWg012408 for ; Tue, 9 Apr 2019 09:16:06 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2rru8vk4vg-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 09 Apr 2019 09:16:06 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 9 Apr 2019 14:16:04 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 9 Apr 2019 14:16:02 +0100 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x39DG1Js39714878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 9 Apr 2019 13:16:01 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4F1B642047; Tue, 9 Apr 2019 13:16:01 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0E3084204C; Tue, 9 Apr 2019 13:16:01 +0000 (GMT) Received: from oc7167334104.ibm.com (unknown [9.152.224.35]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 9 Apr 2019 13:16:00 +0000 (GMT) Subject: Re: [alpine-devel] Some questions about initramfs-init. To: Magicloud Magiclouds , Natanael Copa Cc: alpine-devel@lists.alpinelinux.org References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> From: Tuan Hoang Date: Tue, 9 Apr 2019 15:16:00 +0200 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19040913-0008-0000-0000-000002D7ED3F X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19040913-0009-0000-0000-000022440D30 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-09_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=56 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=808 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904090084 >>> 2. Why networking is after nlplug-findfs? Can I bring up network (if >>> needed) before nlplug-findfs? >> >> nlplug-findfs also serves as coldplug, and enumerates all the current >> devices so all kernel modules gets loaded. Without this there is no >> guarantee that the network driver is automatically detected and loaded. > I see. There are cases where I have nasty hack that I put 'nlplug-findfs -p /sbin/mdev' (no root dir) before configure_ip and it kind of works. I couldn't speak for normal/mainstream installation though because it might break people's stuffs. I think Alpine scripts in general is very friendly and flexible to hack to match your needs. If it turns out that people x and/or group y also need your hack, then a PR is very welcomed and necessary. Cheers, --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-ua1-f66.google.com (mail-ua1-f66.google.com [209.85.222.66]) by lists.alpinelinux.org (Postfix) with ESMTP id 5FBAFF83248 for ; Wed, 10 Apr 2019 03:42:24 +0000 (UTC) Received: by mail-ua1-f66.google.com with SMTP id p13so301814uaa.11 for ; Tue, 09 Apr 2019 20:42:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=2+MTZMu59U7RzYm1n/RV8bJnw0kb+ofBl/6Hclw3x1c=; b=ONJQJcYEq4tn+DYXawHdqc183QAI7gwNQGmowkKh6nqFZ/PWlU7aVY3nm1byiZCQH2 iz/HPGQqWPO4FbG7yuq8ldF3GpK7ILk5er0J6yN0YT5EOPFFxKOsKw5lOkO4TFC4lxeP lv6CVkEphT9yr/MwNLUef0Sog/iGdFm1khioA9+ywehw44Smf0/ZHDRTfk1PnDnPteM4 T0q9q7Z6XOt74f5mSbF9F2Ply9Z+QYDiWSYCLvKXiqbenf+qTR3h8RVloLy0TwWP5Jq+ vXKhJ5L6tV/shJIFMi8l8C//ed21QbzIriWa54A/taewh+8vh1Oz3lIcFwi9/Rke7pCU QZqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=2+MTZMu59U7RzYm1n/RV8bJnw0kb+ofBl/6Hclw3x1c=; b=BUxJVTBlLk8EoExPyEL/HvfbVMBpzoWJbQpltVt/60W7U16A/DG/BOyXaP6G4JyWCD fG6kACJa51eFcjiTbhA/gpmZoGXfBaRgqhJUL04XIPLcD6+inC3R6rfCVbTFSVpO5J4f xIKz/r28678cOISOmW3rBP4x2Klk8TW9jlR6+4VmQAoGysSIrPlul21nTC5hDQgxCrIm iDu91Xx9984IOp6Q36qj/9ONjeXwdgFfosPreffbF+JIXOdAmd5Z7D6WHIU2T/9XDrhz AYjevL731yhtij00imVp/YiCBHCbUxTAwnNV4tRy0IZ5cQCTQvWLh+FviH57W58SwjEx jzhw== X-Gm-Message-State: APjAAAWSypmfvInBsQcnDayouJ0EzVitQyBnyxc7QrwTCk27AMca1Ywg nSO2kKTZUKpfG0mO9HfRB7Mg/pePiito4+fPc44= X-Google-Smtp-Source: APXvYqw1GqiYU7ww5lx8GJO2v4cmw3rIENP25U899pljRkRmmy8WFVSpKg+I9AZjFJxwlUF6dQ9I8+rHvImzbGQvVYE= X-Received: by 2002:ab0:6193:: with SMTP id h19mr21348376uan.47.1554867743869; Tue, 09 Apr 2019 20:42:23 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> In-Reply-To: From: Magicloud Magiclouds Date: Wed, 10 Apr 2019 11:42:04 +0800 Message-ID: Subject: Re: [alpine-devel] Some questions about initramfs-init. To: Tuan Hoang Cc: Natanael Copa , alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the info. My intention is to save the hacking work. I like things to be configurable or appendable. Also, some code seems out of maintain. For example, ALPINE_MNT, I could not find its definition or where assigned. PS: For PR, I am not sure if github works. I had one to fix VIM syntax highlight issue (very small), but no response for quite a while. On Tue, Apr 9, 2019 at 9:16 PM Tuan Hoang wrote: > > > >>> 2. Why networking is after nlplug-findfs? Can I bring up network (if > >>> needed) before nlplug-findfs? > >> > >> nlplug-findfs also serves as coldplug, and enumerates all the current > >> devices so all kernel modules gets loaded. Without this there is no > >> guarantee that the network driver is automatically detected and loaded= . > > I see. > > There are cases where I have nasty hack that I put 'nlplug-findfs -p > /sbin/mdev' (no root dir) before configure_ip and it kind of works. I > couldn't speak for normal/mainstream installation though because it > might break people's stuffs. > > I think Alpine scripts in general is very friendly and flexible to hack > to match your needs. If it turns out that people x and/or group y also > need your hack, then a PR is very welcomed and necessary. > > Cheers, > --=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 And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from fx.arvanta.net (static-213-198-238-194.adsl.eunet.rs [213.198.238.194]) by lists.alpinelinux.org (Postfix) with ESMTP id 80F5AF84D3C for ; Wed, 10 Apr 2019 13:18:51 +0000 (UTC) Received: from arya.arvanta.net (arya.arvanta.net [10.5.1.6]) by fx.arvanta.net (Postfix) with ESMTP id 6B10C4821 for ; Wed, 10 Apr 2019 15:18:50 +0200 (CEST) Date: Wed, 10 Apr 2019 15:18:50 +0200 From: Milan =?utf-8?Q?P=2E_Stani=C4=87?= To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Some questions about initramfs-init. Message-ID: <20190410131850.GA18229@arya.arvanta.net> References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) On Wed, 2019-04-10 at 11:42, Magicloud Magiclouds wrote: > Thanks for the info. [...] > PS: For PR, I am not sure if github works. I had one to fix VIM syntax > highlight issue (very small), but no response for quite a while. Could you post URL of the PR, I'm working on fixes for VIM these days and it would nice to see your work. [...] -- regards --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-vs1-f54.google.com (mail-vs1-f54.google.com [209.85.217.54]) by lists.alpinelinux.org (Postfix) with ESMTP id 20041F816F4 for ; Wed, 17 Apr 2019 09:23:29 +0000 (UTC) Received: by mail-vs1-f54.google.com with SMTP id e2so13167174vsc.13 for ; Wed, 17 Apr 2019 02:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=O7+yGXevE7rmCrXkIHHvj9LOSANohJxsc0vwvnAsVlA=; b=j4mkpWoG7eO0JkE02VklGiNPcySEwYKqVPHXtRnsY3JsX9dpPTl8yB0nxcdZbXp5cR iXotq06/CiY+7swc94mOYszjY4VSgWoJ5EVVEVZY29DxHv8BuTt+/6/XzU6bvinchhRg Yf8MyLJDo+YJeQ8NckDVmdXWjh2feq7J+DggusT99oLAxjQ6ofmytJudmbmFujD3VY3p xWWnfmSnuIk4iPxQbdZ6MRriv/3yA8z+w9ja7uzDwVHd8VZbNVrq5fy6u5ZWfoydu+L8 hzVZe8ACKJDCWGNluBhW+iRfdFnj8m3xEFnzGdv5oqwvFHsqMr3Wh+Xa21FqRr3YLx4I 2KXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=O7+yGXevE7rmCrXkIHHvj9LOSANohJxsc0vwvnAsVlA=; b=U5ONc5kInoUQQx8eAlnGubOMnP2fy4yo4KgbIjvLTGNU4u+EX+bP+eAt6Lh0LFbnfX sXA7kRFcxNvIyEJxASUvnCGIS9XWyokkMI9dqi12mqpc042ZcSx7ONSZBKIMMEFyu+vh 0ALXTC39TGTVpNjXmFWIUA5LQS9uq7iWhlYAd1BN4tvHH4BcozSDaWU4vOeU/9o/tBxV MrnbPEERbpeg6NwyZcB0N3RTX3C1VSJQrf2HpB5mLrujXXRXjx08uTyt6+prMiCGV1Z+ BN/YT7GZlAtX91N7f9Tu0W+2rlvg56Wo7IcegoK9Q/yNtd3OUCPrPH1HkjfP6f+wvWmX kzPw== X-Gm-Message-State: APjAAAXyOAAt7vjVUevmwazqeagGGOqm269hyyj730RB7K60oq64rs73 ol0chiFVFuZEPl8rznQqIWqB2JQ6bEbkZ1sIi4w= X-Google-Smtp-Source: APXvYqyNzEC4HQ8t/HIjgTv+IZAD4uCiW0l1OJ/01Spzk0s/dSurW1cxtKrlDuLS9hTAnF1iT3oDAefSqGJcwn9Lc4Y= X-Received: by 2002:a67:ffc4:: with SMTP id w4mr46904686vsq.138.1555493008481; Wed, 17 Apr 2019 02:23:28 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> <20190410131850.GA18229@arya.arvanta.net> In-Reply-To: <20190410131850.GA18229@arya.arvanta.net> From: Magicloud Magiclouds Date: Wed, 17 Apr 2019 17:22:50 +0800 Message-ID: Subject: Re: [alpine-devel] Some questions about initramfs-init. To: =?UTF-8?Q?Milan_P=2E_Stani=C4=87?= Cc: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry, just saw this now. It is just a minor change for VIM syntax highlig= ht. https://github.com/alpinelinux/mkinitfs/pull/50 On Wed, Apr 10, 2019 at 9:19 PM Milan P. Stani=C4=87 wrot= e: > > On Wed, 2019-04-10 at 11:42, Magicloud Magiclouds wrote: > > Thanks for the info. > [...] > > PS: For PR, I am not sure if github works. I had one to fix VIM syntax > > highlight issue (very small), but no response for quite a while. > > Could you post URL of the PR, I'm working on fixes for VIM these days > and it would nice to see your work. > > [...] > > -- > regards > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --=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 And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from fx.arvanta.net (static-213-198-238-194.adsl.eunet.rs [213.198.238.194]) by lists.alpinelinux.org (Postfix) with ESMTP id 26623F84D45 for ; Wed, 17 Apr 2019 10:15:58 +0000 (UTC) Received: from arya.arvanta.net (arya.arvanta.net [10.5.1.6]) by fx.arvanta.net (Postfix) with ESMTP id C47874CAB for ; Wed, 17 Apr 2019 12:15:56 +0200 (CEST) Date: Wed, 17 Apr 2019 12:15:56 +0200 From: Milan =?utf-8?Q?P=2E_Stani=C4=87?= To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Some questions about initramfs-init. Message-ID: <20190417101556.GB4697@arya.arvanta.net> References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> <20190410131850.GA18229@arya.arvanta.net> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: base64 In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) WyBEb24ndCBDQyBtZSwgSSdtIHN1YnNjcmliZWQgdG8gbGlzdCBdDQoNCk9uIFdlZCwgMjAxOS0w NC0xNyBhdCAxNzoyMiwgTWFnaWNsb3VkIE1hZ2ljbG91ZHMgd3JvdGU6DQo+IFNvcnJ5LCBqdXN0 IHNhdyB0aGlzIG5vdy4gSXQgaXMganVzdCBhIG1pbm9yIGNoYW5nZSBmb3IgVklNICBzeW50YXgg aGlnaGxpZ2h0Lg0KDQpObyBwcm9ibGVtLg0KIA0KPiBodHRwczovL2dpdGh1Yi5jb20vYWxwaW5l bGludXgvbWtpbml0ZnMvcHVsbC81MA0KDQpJJ20gbm90IGZhbWlsaWFyIHdpdGggZ2l0aHViIFBS cywgYnV0IHRvIG1lIHRoaXMgZml4IGxvb2tzIGl0IGlzIGZvcg0KbWtpbml0ZnMgYW5kIG5vdCBm b3IgdmltLiBPciBJJ20gIHdyb25nPw0KDQo+IE9uIFdlZCwgQXByIDEwLCAyMDE5IGF0IDk6MTkg UE0gTWlsYW4gUC4gU3RhbmnEhyA8bXBzQGFydmFudGEubmV0PiB3cm90ZToNCj4gPg0KPiA+IE9u IFdlZCwgMjAxOS0wNC0xMCBhdCAxMTo0MiwgTWFnaWNsb3VkIE1hZ2ljbG91ZHMgd3JvdGU6DQo+ ID4gPiBUaGFua3MgZm9yIHRoZSBpbmZvLg0KPiA+IFsuLi5dDQo+ID4gPiBQUzogRm9yIFBSLCBJ IGFtIG5vdCBzdXJlIGlmIGdpdGh1YiB3b3Jrcy4gSSBoYWQgb25lIHRvIGZpeCBWSU0gc3ludGF4 DQo+ID4gPiBoaWdobGlnaHQgaXNzdWUgKHZlcnkgc21hbGwpLCBidXQgbm8gcmVzcG9uc2UgZm9y IHF1aXRlIGEgd2hpbGUuDQo+ID4NCj4gPiBDb3VsZCB5b3UgcG9zdCBVUkwgb2YgdGhlIFBSLCBJ J20gd29ya2luZyBvbiBmaXhlcyBmb3IgVklNIHRoZXNlIGRheXMNCj4gPiBhbmQgIGl0IHdvdWxk IG5pY2UgdG8gc2VlIHlvdXIgd29yay4NCj4gPg0KPiA+IFsuLi5dDQo+ID4NCj4gPiAtLQ0KPiA+ IHJlZ2FyZHMNCj4gPg0KPiA+DQo+ID4gLS0tDQo+ID4gVW5zdWJzY3JpYmU6ICBhbHBpbmUtZGV2 ZWwrdW5zdWJzY3JpYmVAbGlzdHMuYWxwaW5lbGludXgub3JnDQo+ID4gSGVscDogICAgICAgICBh bHBpbmUtZGV2ZWwraGVscEBsaXN0cy5hbHBpbmVsaW51eC5vcmcNCj4gPiAtLS0NCj4gPg0KPiAN Cj4gDQo+IC0tIA0KPiDnq7nlr4blsoLlpqjmtYHmsLTov4cNCj4g5bGx6auY5ZOq6Zi76YeO5LqR 6aOeDQo+IA0KPiBBbmQgZm9yIEcrLCBwbGVhc2UgdXNlIG1hZ2ljbG91ZHMjZ21haWwuY29tLg0K PiANCj4gDQo+IC0tLQ0KPiBVbnN1YnNjcmliZTogIGFscGluZS1kZXZlbCt1bnN1YnNjcmliZUBs aXN0cy5hbHBpbmVsaW51eC5vcmcNCj4gSGVscDogICAgICAgICBhbHBpbmUtZGV2ZWwraGVscEBs aXN0cy5hbHBpbmVsaW51eC5vcmcNCj4gLS0tDQo+IA0KDQoNCi0tLQ0KVW5zdWJzY3JpYmU6ICBh bHBpbmUtZGV2ZWwrdW5zdWJzY3JpYmVAbGlzdHMuYWxwaW5lbGludXgub3JnDQpIZWxwOiAgICAg ICAgIGFscGluZS1kZXZlbCtoZWxwQGxpc3RzLmFscGluZWxpbnV4Lm9yZw0KLS0tDQo= From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com [209.85.222.45]) by lists.alpinelinux.org (Postfix) with ESMTP id 92102F8147B for ; Wed, 17 Apr 2019 14:27:58 +0000 (UTC) Received: by mail-ua1-f45.google.com with SMTP id v7so7942231uak.13 for ; Wed, 17 Apr 2019 07:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=bwu5SAvfiP4rce3j+PPcSB7/PLuFLuhFAP4jl2epbSU=; b=agxAPJouXxO3/4WsRa9rm1P3zkMCuhamx5Zogr4E2LLrv93IWuCrtCrqL1mULO9QxU 8C+gDR0pH+CErA9c4aNFSMTxFAbpJtC12qRK91OPQ4OF5bkwxavHA6iAOOIF2FfDmlM7 geHjKZM+PjVxem4OBmVqG0JXiNyk6HXwYtGwlGxmnwoATaI4xncbiHRU/ir3jzo92KBM PTfwNIf72rpRL687FJGoJ7tzq9231qMv8LTNlfMDb6AQ+ExWxSezUPlBrRwkOxM5cVf3 SMnw8wniSIXNhiaB7NzntVEDCK0TiErGY/bzrS092+yhZ7v+B0NoWcoyEv74cST0oqbE ghbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=bwu5SAvfiP4rce3j+PPcSB7/PLuFLuhFAP4jl2epbSU=; b=iyYGlFZQyNsPcnMPJoAWqLYPm/cfVQ9NPKy7wgIWW1MXYIBNgBkDn16lEisVfclpVm cPIfsuoY/7TxxuYTvJV+Ztew8V/oPa3tQiwpUoP9SYb/Y6eYDVb+uipuBWSM7AZbGRUd ozLI68aJClgYC/va+i0XyF8Wk81CkU/iQXVAdKRf72a+JboowGNa+CsOsaULhINsXnYb ubQTgWg82iNSr9iTpph62ezw3hQRW2ewFm+rAv5fqnqRAWaDnVKFFtxCBmwXKYx7S+aI xsZhZy8bTspUWm/fC5k33C7kqvUzzZk33pGqEl1b5hDF3AFTi/N3A7aiXeZT6x4rArK4 ffpQ== X-Gm-Message-State: APjAAAXaqpLT8fnHhDTrvPY0FWML28sl+FEeUXkNVhaMg8nzCI5GNb1N YD9BYfhBY086ku/HOVwvwXpe7o9s9g8vfZOF/eOMbA== X-Google-Smtp-Source: APXvYqzEkHhn1H15A3i44A+V10RaHF4RaFc3H+eyxuZfUfKVjYdc2ex5NHstvWah/hPtA6T7X06N9QkIrT7na6WwwC4= X-Received: by 2002:ab0:2b9a:: with SMTP id q26mr15860128uar.58.1555511277746; Wed, 17 Apr 2019 07:27:57 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> <20190410131850.GA18229@arya.arvanta.net> <20190417101556.GB4697@arya.arvanta.net> In-Reply-To: <20190417101556.GB4697@arya.arvanta.net> From: Magicloud Magiclouds Date: Wed, 17 Apr 2019 22:27:19 +0800 Message-ID: Subject: Re: [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 The problem is on VIM parsing the code. So either fixing VIM to allow this usage, or fixing the code to make VIM work. I have no idea how VIM works. So I made change on this side. On Wed, Apr 17, 2019 at 6:16 PM Milan P. Stani=C4=87 wrot= e: > > [ Don't CC me, I'm subscribed to list ] > > On Wed, 2019-04-17 at 17:22, Magicloud Magiclouds wrote: > > Sorry, just saw this now. It is just a minor change for VIM syntax hig= hlight. > > No problem. > > > https://github.com/alpinelinux/mkinitfs/pull/50 > > I'm not familiar with github PRs, but to me this fix looks it is for > mkinitfs and not for vim. Or I'm wrong? > > > On Wed, Apr 10, 2019 at 9:19 PM Milan P. Stani=C4=87 = wrote: > > > > > > On Wed, 2019-04-10 at 11:42, Magicloud Magiclouds wrote: > > > > Thanks for the info. > > > [...] > > > > PS: For PR, I am not sure if github works. I had one to fix VIM syn= tax > > > > highlight issue (very small), but no response for quite a while. > > > > > > Could you post URL of the PR, I'm working on fixes for VIM these days > > > and it would nice to see your work. > > > > > > [...] > > > > > > -- > > > regards > > > > > > > > > --- > > > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > > > Help: alpine-devel+help@lists.alpinelinux.org > > > --- > > > > > > > > > -- > > =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 > > > > And for G+, please use magiclouds#gmail.com. > > > > > > --- > > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > > Help: alpine-devel+help@lists.alpinelinux.org > > --- > > > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --=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 And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from fx.arvanta.net (static-213-198-238-194.adsl.eunet.rs [213.198.238.194]) by lists.alpinelinux.org (Postfix) with ESMTP id 2213CF84E67 for ; Wed, 17 Apr 2019 15:21:09 +0000 (UTC) Received: from arya.arvanta.net (arya.arvanta.net [10.5.1.6]) by fx.arvanta.net (Postfix) with ESMTP id EBDD84CDE for ; Wed, 17 Apr 2019 17:21:07 +0200 (CEST) Date: Wed, 17 Apr 2019 17:21:07 +0200 From: Milan =?utf-8?Q?P=2E_Stani=C4=87?= To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Some questions about initramfs-init. Message-ID: <20190417152107.GA31028@arya.arvanta.net> References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> <20190410131850.GA18229@arya.arvanta.net> <20190417101556.GB4697@arya.arvanta.net> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: base64 In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) T24gV2VkLCAyMDE5LTA0LTE3IGF0IDIyOjI3LCBNYWdpY2xvdWQgTWFnaWNsb3VkcyB3cm90ZToN Cj4gVGhlIHByb2JsZW0gaXMgb24gVklNIHBhcnNpbmcgdGhlIGNvZGUuIFNvIGVpdGhlciBmaXhp bmcgVklNIHRvIGFsbG93DQo+IHRoaXMgdXNhZ2UsIG9yIGZpeGluZyB0aGUgY29kZSB0byBtYWtl IFZJTSB3b3JrLg0KDQpKdXN0IG9wZW5lZCBzcmMvbWtpbml0ZnMtMy4yLjAvaW5pdHJhbWZzLWlu aXQuaW4gd2l0aCB2aW0gaW4gc3RhYmxlDQpyZWxlYXNlIGFuZCBpdCBsb29rcyBvaywgYWZ0ZXIg YW5kIGJlZm9yZSBtZW50aW9uZWQgbGluZS4NCiANCj4gSSBoYXZlIG5vIGlkZWEgaG93IFZJTSB3 b3Jrcy4gU28gSSBtYWRlIGNoYW5nZSBvbiB0aGlzIHNpZGUuDQo+IA0KPiBPbiBXZWQsIEFwciAx NywgMjAxOSBhdCA2OjE2IFBNIE1pbGFuIFAuIFN0YW5pxIcgPG1wc0BhcnZhbnRhLm5ldD4gd3Jv dGU6DQo+ID4NCj4gPiBbIERvbid0IENDIG1lLCBJJ20gc3Vic2NyaWJlZCB0byBsaXN0IF0NCj4g Pg0KPiA+IE9uIFdlZCwgMjAxOS0wNC0xNyBhdCAxNzoyMiwgTWFnaWNsb3VkIE1hZ2ljbG91ZHMg d3JvdGU6DQo+ID4gPiBTb3JyeSwganVzdCBzYXcgdGhpcyBub3cuIEl0IGlzIGp1c3QgYSBtaW5v ciBjaGFuZ2UgZm9yIFZJTSAgc3ludGF4IGhpZ2hsaWdodC4NCj4gPg0KPiA+IE5vIHByb2JsZW0u DQo+ID4NCj4gPiA+IGh0dHBzOi8vZ2l0aHViLmNvbS9hbHBpbmVsaW51eC9ta2luaXRmcy9wdWxs LzUwDQo+ID4NCj4gPiBJJ20gbm90IGZhbWlsaWFyIHdpdGggZ2l0aHViIFBScywgYnV0IHRvIG1l IHRoaXMgZml4IGxvb2tzIGl0IGlzIGZvcg0KPiA+IG1raW5pdGZzIGFuZCBub3QgZm9yIHZpbS4g T3IgSSdtICB3cm9uZz8NCj4gPg0KPiA+ID4gT24gV2VkLCBBcHIgMTAsIDIwMTkgYXQgOToxOSBQ TSBNaWxhbiBQLiBTdGFuacSHIDxtcHNAYXJ2YW50YS5uZXQ+IHdyb3RlOg0KPiA+ID4gPg0KPiA+ ID4gPiBPbiBXZWQsIDIwMTktMDQtMTAgYXQgMTE6NDIsIE1hZ2ljbG91ZCBNYWdpY2xvdWRzIHdy b3RlOg0KPiA+ID4gPiA+IFRoYW5rcyBmb3IgdGhlIGluZm8uDQo+ID4gPiA+IFsuLi5dDQo+ID4g PiA+ID4gUFM6IEZvciBQUiwgSSBhbSBub3Qgc3VyZSBpZiBnaXRodWIgd29ya3MuIEkgaGFkIG9u ZSB0byBmaXggVklNIHN5bnRheA0KPiA+ID4gPiA+IGhpZ2hsaWdodCBpc3N1ZSAodmVyeSBzbWFs bCksIGJ1dCBubyByZXNwb25zZSBmb3IgcXVpdGUgYSB3aGlsZS4NCj4gPiA+ID4NCj4gPiA+ID4g Q291bGQgeW91IHBvc3QgVVJMIG9mIHRoZSBQUiwgSSdtIHdvcmtpbmcgb24gZml4ZXMgZm9yIFZJ TSB0aGVzZSBkYXlzDQo+ID4gPiA+IGFuZCAgaXQgd291bGQgbmljZSB0byBzZWUgeW91ciB3b3Jr Lg0KPiA+ID4gPg0KPiA+ID4gPiBbLi4uXQ0KPiA+ID4gPg0KPiA+ID4gPiAtLQ0KPiA+ID4gPiBy ZWdhcmRzDQo+ID4gPiA+DQo+ID4gPiA+DQo+ID4gPiA+IC0tLQ0KPiA+ID4gPiBVbnN1YnNjcmli ZTogIGFscGluZS1kZXZlbCt1bnN1YnNjcmliZUBsaXN0cy5hbHBpbmVsaW51eC5vcmcNCj4gPiA+ ID4gSGVscDogICAgICAgICBhbHBpbmUtZGV2ZWwraGVscEBsaXN0cy5hbHBpbmVsaW51eC5vcmcN Cj4gPiA+ID4gLS0tDQo+ID4gPiA+DQo+ID4gPg0KPiA+ID4NCj4gPiA+IC0tDQo+ID4gPiDnq7nl r4blsoLlpqjmtYHmsLTov4cNCj4gPiA+IOWxsemrmOWTqumYu+mHjuS6kemjng0KPiA+ID4NCj4g PiA+IEFuZCBmb3IgRyssIHBsZWFzZSB1c2UgbWFnaWNsb3VkcyNnbWFpbC5jb20uDQo+ID4gPg0K PiA+ID4NCj4gPiA+IC0tLQ0KPiA+ID4gVW5zdWJzY3JpYmU6ICBhbHBpbmUtZGV2ZWwrdW5zdWJz Y3JpYmVAbGlzdHMuYWxwaW5lbGludXgub3JnDQo+ID4gPiBIZWxwOiAgICAgICAgIGFscGluZS1k ZXZlbCtoZWxwQGxpc3RzLmFscGluZWxpbnV4Lm9yZw0KPiA+ID4gLS0tDQo+ID4gPg0KPiA+DQo+ ID4NCj4gPiAtLS0NCj4gPiBVbnN1YnNjcmliZTogIGFscGluZS1kZXZlbCt1bnN1YnNjcmliZUBs aXN0cy5hbHBpbmVsaW51eC5vcmcNCj4gPiBIZWxwOiAgICAgICAgIGFscGluZS1kZXZlbCtoZWxw QGxpc3RzLmFscGluZWxpbnV4Lm9yZw0KPiA+IC0tLQ0KPiA+DQo+IA0KPiANCj4gLS0gDQo+IOer ueWvhuWyguWmqOa1geawtOi/hw0KPiDlsbHpq5jlk6rpmLvph47kupHpo54NCj4gDQo+IEFuZCBm b3IgRyssIHBsZWFzZSB1c2UgbWFnaWNsb3VkcyNnbWFpbC5jb20uDQo+IA0KPiANCj4gLS0tDQo+ IFVuc3Vic2NyaWJlOiAgYWxwaW5lLWRldmVsK3Vuc3Vic2NyaWJlQGxpc3RzLmFscGluZWxpbnV4 Lm9yZw0KPiBIZWxwOiAgICAgICAgIGFscGluZS1kZXZlbCtoZWxwQGxpc3RzLmFscGluZWxpbnV4 Lm9yZw0KPiAtLS0NCj4gDQoNCg0KLS0tDQpVbnN1YnNjcmliZTogIGFscGluZS1kZXZlbCt1bnN1 YnNjcmliZUBsaXN0cy5hbHBpbmVsaW51eC5vcmcNCkhlbHA6ICAgICAgICAgYWxwaW5lLWRldmVs K2hlbHBAbGlzdHMuYWxwaW5lbGludXgub3JnDQotLS0NCg== From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-vs1-f66.google.com (mail-vs1-f66.google.com [209.85.217.66]) by lists.alpinelinux.org (Postfix) with ESMTP id D3E81F816DE for ; Thu, 18 Apr 2019 15:08:27 +0000 (UTC) Received: by mail-vs1-f66.google.com with SMTP id s2so1337126vsi.5 for ; Thu, 18 Apr 2019 08:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=CzxAn9luRlwsuzrEsCsiv4+QeAePyZvN2b1FBiUycHc=; b=PzkpEPwOadvRj0/ZUg/byQapsgtpRiucgcRyt/Ke1UugW7PUVvTjJXpNpskMOEMcGV /I+mbxt3QmHiyfRCD5yiYBVH5NdhztLCdnEyVOHv1155y4INdSJnRYQzb0vyU8doEWzl 4+gOl33jybaqLW6AWvcB6USAzosOtjskPHkiIqpp7iESYtanT+rkwCSyDySTiHMP9+1x Tm54kaTFUeIi89AW4ld9Ca8w8Ag+jd/gFH2xh7LFcO+onvRudHJ6hzF8ZUUW8Ny0DHER 8E2IbINHk0UPyBRRRWGQ/vy7GqRH4YqtmH4wOy1aDeGpisQg3PRd4bw7Cvta74rfmxB0 czMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=CzxAn9luRlwsuzrEsCsiv4+QeAePyZvN2b1FBiUycHc=; b=pt8L1i1nqmbNTtLwCv9yGrq8bYeBC8CCScwtZzYBlyyPqasqtFdJsCVtwzYaMPYFOu I/V1Zb5TewIDVEUAWF2YpbehGETses1tp11X+DY4qZ5giUuCVo0nLmY7lAKRaAKd3lAe GemR76IACVlXkGZHEH/KpRPxBe9+UXDQxAW7/byCifyZz0WSiD8UQkEnM+2foEUkhgNs IezG2uE8MdNWP2IlYD5MCLbtGU7RAvBQ22s5ZEbsQNk7ulc2aLTx0ohffa7aZyte8TXX iQyX06UkSGeZZOpM7F0eOfGrkdH8DDify0JF67ZtdHAHAz6SUzGeKqO40w2jjcqBIwLp ubBQ== X-Gm-Message-State: APjAAAXhF5P08kVxGbaafHUusqy/EW8BI3mauVODkruatdVDKyk/8xjY TCqRLMqj4LJte+apXOU4JxWnXWIk2AcUMRQd5MY/ppHE X-Google-Smtp-Source: APXvYqzI6it4FjwXILyn+1inE1m1THwO2XtMlXqBlzvbx3lvjL2W2dFVRpjODaKcOtGfOCQ/6+BZqBanNg/gO4/wRo0= X-Received: by 2002:a67:89c7:: with SMTP id l190mr52473289vsd.199.1555600107090; Thu, 18 Apr 2019 08:08:27 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> <20190410131850.GA18229@arya.arvanta.net> <20190417101556.GB4697@arya.arvanta.net> <20190417152107.GA31028@arya.arvanta.net> In-Reply-To: <20190417152107.GA31028@arya.arvanta.net> From: Magicloud Magiclouds Date: Thu, 18 Apr 2019 23:07:46 +0800 Message-ID: Subject: Re: [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 Hum.... I am using 8.1 in Archlinux that has this problem. And I tried to run vim with sudo to rule out .vimrc, it still broke. Could you give your vim information so maybe I could get help from VIM side? $ vim --version VIM - Vi IMproved 8.1 (2018 May 18, compiled Mar 29 2019 20:08:59) Included patches: 1-1073 Compiled by Arch Linux Huge version without GUI. Features included (+) or not (-): +acl +extra_search +mouse_netterm +tag_old_static +arabic -farsi +mouse_sgr -tag_any_white +autocmd +file_in_path -mouse_sysmouse +tcl/dyn +autochdir +find_in_path +mouse_urxvt +termguicolors -autoservername +float +mouse_xterm +terminal -balloon_eval +folding +multi_byte +terminfo +balloon_eval_term -footer +multi_lang +termresponse -browse +fork() -mzscheme +textobjects ++builtin_terms +gettext +netbeans_intg +textprop +byte_offset -hangul_input +num64 +timers +channel +iconv +packages +title +cindent +insert_expand +path_extra -toolbar -clientserver +job +perl/dyn +user_commands -clipboard +jumplist +persistent_undo +vartabs +cmdline_compl +keymap +postscript +vertsplit +cmdline_hist +lambda +printer +virtualedit +cmdline_info +langmap +profile +visual +comments +libcall +python/dyn +visualextra +conceal +linebreak +python3/dyn +viminfo +cryptv +lispindent +quickfix +vreplace +cscope +listcmds +reltime +wildignore +cursorbind +localmap +rightleft +wildmenu +cursorshape +lua/dyn +ruby/dyn +windows +dialog_con +menu +scrollbind +writebackup +diff +mksession +signs -X11 +digraphs +modify_fname +smartindent -xfontset -dnd +mouse +startuptime -xim -ebcdic -mouseshape +statusline -xpm +emacs_tags +mouse_dec -sun_workshop -xsmp +eval +mouse_gpm +syntax -xterm_clipboard +ex_extra -mouse_jsbterm +tag_binary -xterm_save system vimrc file: "/etc/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" defaults file: "$VIMRUNTIME/defaults.vim" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=3D2 -march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-strong -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D1 Linking: gcc -L. -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.28/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/local/lib -Wl,--as-needed -o vim -lm -ltinfo -lelf -lnsl -lacl -lattr -lgpm -ldl -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.28/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -L/usr/local/lib -L/usr/lib/perl5/5.28/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lm On Wed, Apr 17, 2019 at 11:21 PM Milan P. Stani=C4=87 wro= te: > > On Wed, 2019-04-17 at 22:27, Magicloud Magiclouds wrote: > > The problem is on VIM parsing the code. So either fixing VIM to allow > > this usage, or fixing the code to make VIM work. > > Just opened src/mkinitfs-3.2.0/initramfs-init.in with vim in stable > release and it looks ok, after and before mentioned line. > > > I have no idea how VIM works. So I made change on this side. > > > > On Wed, Apr 17, 2019 at 6:16 PM Milan P. Stani=C4=87 = wrote: > > > > > > [ Don't CC me, I'm subscribed to list ] > > > > > > On Wed, 2019-04-17 at 17:22, Magicloud Magiclouds wrote: > > > > Sorry, just saw this now. It is just a minor change for VIM syntax= highlight. > > > > > > No problem. > > > > > > > https://github.com/alpinelinux/mkinitfs/pull/50 > > > > > > I'm not familiar with github PRs, but to me this fix looks it is for > > > mkinitfs and not for vim. Or I'm wrong? > > > > > > > On Wed, Apr 10, 2019 at 9:19 PM Milan P. Stani=C4=87 wrote: > > > > > > > > > > On Wed, 2019-04-10 at 11:42, Magicloud Magiclouds wrote: > > > > > > Thanks for the info. > > > > > [...] > > > > > > PS: For PR, I am not sure if github works. I had one to fix VIM= syntax > > > > > > highlight issue (very small), but no response for quite a while= . > > > > > > > > > > Could you post URL of the PR, I'm working on fixes for VIM these = days > > > > > and it would nice to see your work. > > > > > > > > > > [...] > > > > > > > > > > -- > > > > > regards > > > > > > > > > > > > > > > --- > > > > > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > > > > > Help: alpine-devel+help@lists.alpinelinux.org > > > > > --- > > > > > > > > > > > > > > > > > -- > > > > =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 > > > > > > > > And for G+, please use magiclouds#gmail.com. > > > > > > > > > > > > --- > > > > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > > > > Help: alpine-devel+help@lists.alpinelinux.org > > > > --- > > > > > > > > > > > > > --- > > > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > > > Help: alpine-devel+help@lists.alpinelinux.org > > > --- > > > > > > > > > -- > > =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 > > > > And for G+, please use magiclouds#gmail.com. > > > > > > --- > > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > > Help: alpine-devel+help@lists.alpinelinux.org > > --- > > > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --=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 And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from fx.arvanta.net (static-213-198-238-194.adsl.eunet.rs [213.198.238.194]) by lists.alpinelinux.org (Postfix) with ESMTP id 56245F81706 for ; Thu, 18 Apr 2019 16:31:16 +0000 (UTC) Received: from arya.arvanta.net (arya.arvanta.net [10.5.1.6]) by fx.arvanta.net (Postfix) with ESMTP id ECF484D63 for ; Thu, 18 Apr 2019 18:31:14 +0200 (CEST) Date: Thu, 18 Apr 2019 18:31:14 +0200 From: Milan =?utf-8?Q?P=2E_Stani=C4=87?= To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Some questions about initramfs-init. Message-ID: <20190418163114.GA27375@arya.arvanta.net> References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> <20190410131850.GA18229@arya.arvanta.net> <20190417101556.GB4697@arya.arvanta.net> <20190417152107.GA31028@arya.arvanta.net> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) On Thu, 2019-04-18 at 23:07, Magicloud Magiclouds wrote: > Hum.... I am using 8.1 in Archlinux that has this problem. And I tried > to run vim with sudo to rule out .vimrc, it still broke. Could you > give your vim information so maybe I could get help from VIM side? > > $ vim --version > VIM - Vi IMproved 8.1 (2018 May 18, compiled Mar 29 2019 20:08:59) > Included patches: 1-1073 > Compiled by Arch Linux This is on Arch Linux. Try to use Alpine stable and edge, vim works fine looking into src/mkinitfs-3.2.0/initramfs-init.in [...] -- regards --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-ua1-f68.google.com (mail-ua1-f68.google.com [209.85.222.68]) by lists.alpinelinux.org (Postfix) with ESMTP id 9E21CF84D45 for ; Fri, 19 Apr 2019 10:08:28 +0000 (UTC) Received: by mail-ua1-f68.google.com with SMTP id a46so1646596uae.2 for ; Fri, 19 Apr 2019 03:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=pthQiG6DXHWBQakbVpJ4S0f31JXruK90S2VGGHvdhXA=; b=QHD0s2CD0uxrTznjMKMQS4NfnnZ0HG6dhb+ykem3Cz1V/LTszhLNjXWfGX3TApsLJj 2O74fccI6lSWn5IsmRBruGwDhk52f9BFXo+KruEj1I4c5fXizL/W706GHrIQml/KCb1q 3EcC3JzejdrExzl4NK/4ZkwxirmzgFvNYu/eVvNWgxy+h2GvlmaJx2EShjJCA+DwpM6Q ODJND2h7Em54UieOrlg2JV01zPSGXSPr7rJ15XrfI+KTnyr6QJGnvegLrrj3q8oZ9lS7 cdd9ii0i87c8JBjphgOiN+aH8Z5G8Ju9x5cedsBVBXUEciDi9cgZD0At3OCkBqvNwrYb VuvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=pthQiG6DXHWBQakbVpJ4S0f31JXruK90S2VGGHvdhXA=; b=mOT7GJ6Myd566e2KBdt7CbkINkri2dubLejoOAK+IW1LljwokPU1u3vqPRtoo/y6ip CYyIX32al8y4BHQYKRw6iM6AP0onoLjiwM/2j/dJqX6CQEoVS+YzlwccgHcu+WAduzIg eMHZeEb3E1BSh1AEH2FwLuNBXcEcmOeUUFy4UK7KX11vs/A1nV1mIXWAUBrnn5Fx3hJx A9Xjg2ijqgvZ3bOTH2a/zLfPQ+yTkx0h1A3Oa+Eap6a4eEOq9GP0Y94UpUKmO4D4EiTC llSq3Wcm5Ww76cWQlOpO9+/M55u/WEpFdgWMJd40mt2MJpx516WQG8Nf2KOFzKlCJcR3 a/7w== X-Gm-Message-State: APjAAAXaBcOdm1shPcRULgE6AJIcB2sBsPE+XHFyr8fEuvDaJnnmFw+J mTqFD0sf6YENAvY8YTdFUI/tvwptGCcc2tMfZsv9ww== X-Google-Smtp-Source: APXvYqzCsF2ZLIFo1TC2gM8OgTXVSxkROq0IcG5XmZ8MDgM6ZbdEdlnWKMU3FZ2HGadwR3xXS25owm9fahQWjdesG5E= X-Received: by 2002:ab0:685a:: with SMTP id a26mr1450737uas.130.1555668507799; Fri, 19 Apr 2019 03:08:27 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> <20190410131850.GA18229@arya.arvanta.net> <20190417101556.GB4697@arya.arvanta.net> <20190417152107.GA31028@arya.arvanta.net> <20190418163114.GA27375@arya.arvanta.net> In-Reply-To: <20190418163114.GA27375@arya.arvanta.net> From: Magicloud Magiclouds Date: Fri, 19 Apr 2019 18:07:46 +0800 Message-ID: Subject: Re: [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 OK. Confirmed. And it is not something different on sh.vim. Got to dig more= . Thanks. On Fri, Apr 19, 2019 at 12:31 AM Milan P. Stani=C4=87 wro= te: > > On Thu, 2019-04-18 at 23:07, Magicloud Magiclouds wrote: > > Hum.... I am using 8.1 in Archlinux that has this problem. And I tried > > to run vim with sudo to rule out .vimrc, it still broke. Could you > > give your vim information so maybe I could get help from VIM side? > > > > $ vim --version > > VIM - Vi IMproved 8.1 (2018 May 18, compiled Mar 29 2019 20:08:59) > > Included patches: 1-1073 > > Compiled by Arch Linux > > This is on Arch Linux. > > Try to use Alpine stable and edge, vim works fine looking into > src/mkinitfs-3.2.0/initramfs-init.in > > [...] > > -- > regards > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --=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 And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 14:35:03 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-vs1-f54.google.com (mail-vs1-f54.google.com [209.85.217.54]) by lists.alpinelinux.org (Postfix) with ESMTP id D1049F84ED7 for ; Fri, 19 Apr 2019 15:36:54 +0000 (UTC) Received: by mail-vs1-f54.google.com with SMTP id w13so3054188vsc.4 for ; Fri, 19 Apr 2019 08:36:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=qfaVT5XSylwLKEsXJeZTO+HK/Mb4cigumf5KkMohW3o=; b=Cmh+PMTRU7lYJOmtMj90h5WCBLxZaP0Lenglh7HTU6OuKVE1ZXTXaLnLI/WatRytGK R258G5NiLt6d8Cy7ePOvvNrBWKRnUZ4F8GbK756kZ+d4AkI5cXUdztB79cQyaTwuYB/W 1lm7yekshYB5+9OnMBZ4lz6f+ltZQ68CWG9+mFfhqVEhzG4w4TODDjYOO50W4tsx21bo KfkAkhxVabHFrA8+uUmM5IcnI5TGdUgMvs0Z80NnxPASoWalh1LtBfWHsPgxoh11f8sF lPKdQJsndz80TNsY+I3ulyEGXF+Y27nYq1uL1xQuIyGMTuv/0vDffPkk1a3AXxDTeKnN 2Otg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=qfaVT5XSylwLKEsXJeZTO+HK/Mb4cigumf5KkMohW3o=; b=Ur3goemHsC+AoMWuitFfgQ6qQdywwBoVaeVc37fbzBhQPaFRUKZ2ygNhd2Y7CZ0Dsa ozsW2yczd7Ye47rqwzF0vUcl/l5AlCBQkdhX0c9lVR93AZHb9evQhEHASJMjUV+IUlZp lUC2yjWJzqZu91H0yRhIbycyjMPRD1YjnIE7WFH9O9wDfUEW6RL+lytNCAWyybkyW6fP nTReSdt47qpqbeFBjjkBl9a2KV/SQs5bvN4+Tp1BwML/gqBapHvETE1kEtL2yuSTL6fc GwPIsXhIcz8G3jubhgqm4c5+pZDGuF9RlPTv9ie0CgEBY3OA4P6fZP0BjquroqALFlu/ Uqrw== X-Gm-Message-State: APjAAAU0gh+Kx4te+C4rk/Yt0SCrkjrDkN1/hDGvhpkdFbjrqVWZszZG FPc8yymaVwQMWaUoh+CuMf6c7m1P8XGHzUj02sn4tA== X-Google-Smtp-Source: APXvYqwymV0zVwRE4cz3hUN6OO3XKPNbAXX4Xj6xfXdv0/PdHx7y+k5eXJBhGAvP1b6RTz03GecqRRoUhSVHWzGc1ss= X-Received: by 2002:a67:7d4d:: with SMTP id y74mr2452739vsc.51.1555688214023; Fri, 19 Apr 2019 08:36:54 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190329193404.4f816188@ncopa-desktop.copa.dup.pw> <20190410131850.GA18229@arya.arvanta.net> <20190417101556.GB4697@arya.arvanta.net> <20190417152107.GA31028@arya.arvanta.net> <20190418163114.GA27375@arya.arvanta.net> In-Reply-To: From: Magicloud Magiclouds Date: Fri, 19 Apr 2019 23:36:12 +0800 Message-ID: Subject: Re: [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 Just noticed, that actually Alpinelinux VIM cannot parse this line correctly as well. But in a different way, and cannot be fixed by an escaping. On Fri, Apr 19, 2019 at 6:07 PM Magicloud Magiclouds wrote: > > OK. Confirmed. And it is not something different on sh.vim. Got to dig mo= re. > > Thanks. > > On Fri, Apr 19, 2019 at 12:31 AM Milan P. Stani=C4=87 w= rote: > > > > On Thu, 2019-04-18 at 23:07, Magicloud Magiclouds wrote: > > > Hum.... I am using 8.1 in Archlinux that has this problem. And I trie= d > > > to run vim with sudo to rule out .vimrc, it still broke. Could you > > > give your vim information so maybe I could get help from VIM side? > > > > > > $ vim --version > > > VIM - Vi IMproved 8.1 (2018 May 18, compiled Mar 29 2019 20:08:59) > > > Included patches: 1-1073 > > > Compiled by Arch Linux > > > > This is on Arch Linux. > > > > Try to use Alpine stable and edge, vim works fine looking into > > src/mkinitfs-3.2.0/initramfs-init.in > > > > [...] > > > > -- > > regards > > > > > > --- > > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > > Help: alpine-devel+help@lists.alpinelinux.org > > --- > > > > > -- > =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 > > And for G+, please use magiclouds#gmail.com. --=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 And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---