From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 28 Oct 2024 08:53:25 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f61.google.com (mail-lf1-f61.google.com [209.85.167.61]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 49S7rGoF005034 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 28 Oct 2024 08:53:17 +0100 Received: by mail-lf1-f61.google.com with SMTP id 2adb3069b0e04-539ea0fcd4bsf3246119e87.2 for ; Mon, 28 Oct 2024 00:53:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1730101991; cv=pass; d=google.com; s=arc-20240605; b=Z+EvWHtJckYRZA9SqGUXalmjxNp6/+9JfyzgOiK+mNY2P1KQ5QhTHPxWci2/bFNvjp hhXjCpwL7PvhxEiReouTsHMpJDAfaF/CI5cBjrPxcZpGEeBySk80QJVSOlicDGjHbbqx ZDXUY7zJDgxCzGJU39XgwGG8WYH2beom4COlKa4DaUzOZFqdeVENIv+Ur4E9l1Iwx+Lu t3vz1bhQi59xBIcq0TOwLqtLN43i+zRjsC5JDB84I7xO2Xa3IVHtmvFt8XAPB8wvYByn 1DXTK3/WmaseW1zYkeKcedQJrw/4eaazfYW/Tvx1eqlVmgIDW0vV4xw+aO7jeLiBrHId kt8A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:autocrypt:references:in-reply-to:date:to :from:subject:message-id:sender:dkim-signature; bh=h/vKLqHJFOe0wi4hWTgfM5FYtdYB621HvZxtcdSNw40=; fh=eOO0vYj34u6aq2f8vcND+c82prvFj/MBuwQfHMKhm0k=; b=i2/nc68nucFdkmAzKlmkaX8UnU+A0RYkcQZ2ZqTkVCRI9MN7k0QOMTs2IQHLPRBaeX ag9x6bqrGBfVVuBsY7k3Q8hod+HIVhG2v+dvWJifATmoo80ppW96JddHep55jig4knkP uR2KadC7paCOn9DwvQlVKfkQkyFBX3I7VdRrbCoIhMljAPQ8iSnTUcmaroBggjVZ89bM xeyofE67kQ0Lqmd/JxmfIXFwsNhiInnr3aSH9cJXrMZhZND98B1p4kFPVyp+IaR+L5nM IAUQ+SSXl4kyk5s8bHvBjEJJGSomEIGFKC2aYQhotIkme2u8BoZUjVMDd4E0v4n68lpm Ee2A==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1730101991; x=1730706791; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:user-agent:content-transfer-encoding :autocrypt:references:in-reply-to:date:to:from:subject:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=h/vKLqHJFOe0wi4hWTgfM5FYtdYB621HvZxtcdSNw40=; b=FmBjT7KryozzL0uXUjFqIJ95Cmic0YPw6mGs+IFgPgozDWCISPwax5tN5r8b3ERb0v FzrpIO4yJ/w1R8Xe8gfuWQ5+KXuH0c2Z5uov8OeHVFUq2nX7eeyOuiqcwXMNMwhqeFmP S30Sco82tniTWLuI0aL2CHSiq7Ny4mKg3xQFlmRnDPAvn+mEIUnEEPdMmLk4PWmgIslS wZl1Do7iPwkwyCs+wgwXA6O0XnYGBPyWcslj9YmQPbm2qJIOUFZlbqEe4ub7Z5mzGbSh QAS3Gk5cu4CnRWeIBMwUAGTw3pQ9HR41QVnmHNHfzhmA91knHkF1W0rf3GclYLC40ExE Bz2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730101991; x=1730706791; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:to:from:subject:message-id:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=h/vKLqHJFOe0wi4hWTgfM5FYtdYB621HvZxtcdSNw40=; b=ZdCPo0950KVh1xNXe3VUc1Qfl5KV5FYq8BTeqSzJ4ZRed/FRJz+I45XlBdG7qgrYUm PNs7p8NoVf3RFkk3M1qaKzOW1sdB0wdrArTCcic/XHplK23AwE5/m3CACGNZGv+7H9WE hKv5IsLKIBuu8VvLYPhUq/C7kbYQ41gCo+Z6Xmrqa3q0JDvjPQhM2/fkhoiy8/XZ4wrb BqGoRb2FIVbE/MqXmUjd9635O8GzTE2cNAnh/wzRd31eQU+L3zmVQiQPJfq6/YAUAx8T AODSnyTwmt5GX6UsTexNQEIQpOBk+wsjFDffCUOw+HQEJOB7CBaLYyPi/xs3Lc5hLub1 0X6A== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWZAuFcBluPv/4DJWmtvWmDrADOhKUJ91K8QYfJPv5lIhlvUO3g+wD0sYhBijHemadng7gQ@ilbers.de X-Gm-Message-State: AOJu0YzMDTyNhJSGLb5rLGzg3EtyBoU4K4UQ+3dBYTSkdXPDJKV7Mf2X Lwi7aKh5wQIHVWsiSZWf1yEBeso7AScBxg250pFg4k1HSbAUQ5qU X-Google-Smtp-Source: AGHT+IH5XmxMDaF0ZooQ5+qrd3pnJ54q53PDnG9qc9gW7DNsZ/va+ItWSShD/9XIjgbeIimso0TXIQ== X-Received: by 2002:a05:6512:12d6:b0:539:f2f6:c6fe with SMTP id 2adb3069b0e04-53b348c863bmr2999921e87.16.1730101990629; Mon, 28 Oct 2024 00:53:10 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:b8a:b0:539:907d:1ec4 with SMTP id 2adb3069b0e04-53b2148f496ls33585e87.1.-pod-prod-03-eu; Mon, 28 Oct 2024 00:53:08 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVRF9LRJDWJXFsEoXLV7mbSSUxvEb4fHmMfJT2zp/BOditcBWF7ClGsFsEL01rqPo8+sY+56+VhCqOU@googlegroups.com X-Received: by 2002:a05:6512:128a:b0:53a:97a:a394 with SMTP id 2adb3069b0e04-53b34a3644fmr2626454e87.57.1730101988280; Mon, 28 Oct 2024 00:53:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1730101988; cv=none; d=google.com; s=arc-20240605; b=k7kSu8itN7Lo9QrRZ09+gMvZ1O+jk9eb5J48RdkbaP8cY0niaUyn3Hp3+jXTat3Wzi VDqietA21M1/pnM3qje03eX06POwo0I7pIeOuinLEnFIdYRJ8rruYWXVQRofD2vVR7D4 8CCKjmM9Y/c3/7nMrmvoRr/bxSVOCSVAMvxCcpKZBPjZPdm+9DhZK/NJWypnfALIaQi+ Tva4JJqeX+E1uwaTIrldRGzsHHAcFSHz4x99Bb+zXNVjWjHvJz0/xtKvXbij9bwTMqm3 FzgWwqfPYgwOpmO/3/JfYahB6RWfHfo3x3MQoXkMUajtsa2Ntv/4QZUhnflW8IcsPLdU dOYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:to:from:subject:message-id; bh=LW83pNJdS8e4QBmtCDErxYJXKsxIEd0UINfH+2fpyvU=; fh=ez+yYIN2+t1/A1KtVD1essDQ6+anTTnZTbSXjuK9WaU=; b=Go8VCIdn3BkHvAnf8DfW3KmjDYOoZzvAB2PswDslwjwXnGzI4ybAMq8QTzpcqT3Oor ZumLpkriswA5rrJG7k8qB6K3p3wxOcoibpTe5/RLIoH4Wkmfi8uxagCTc85SG/D3yVLj O6HShgyk2KefkrJKI4BOZdu+9x91YkHucSr0a+334HK6Pn1JuAe5coleCh0z92J2ijGl dGEu2mJcVZSqYSSBnzaW8muUKaUIBOGX7qFkky51GJMGuUu7jyTemkGQUPpXCCVrIbq+ bRaBNRftRga6KSSZmbrn9wAfO/pOnwWPmVWryj+QYeaf76xEwIBrlVidaD3UPutIy9UX LEhA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-4318b543898si1591455e9.0.2024.10.28.00.53.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Oct 2024 00:53:08 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [IPv6:::1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 49S7r2G2005025 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 28 Oct 2024 08:53:03 +0100 Message-ID: <186720fe12f4e02f2d61e58bd24a5a52d67f9832.camel@ilbers.de> Subject: Re: [PATCH 1/1] move expand-on-first-boot to /usr/lib From: Uladzimir Bely To: Felix Moessbauer , isar-users@googlegroups.com Date: Mon, 28 Oct 2024 10:53:02 +0300 In-Reply-To: <20241021085802.234809-1-felix.moessbauer@siemens.com> References: <20241021085802.234809-1-felix.moessbauer@siemens.com> Autocrypt: addr=ubely@ilbers.de; prefer-encrypt=mutual; keydata=mQENBGO2eUkBCACtT+T3OrPVSExBmqfgXT3lp9XcdxRzjYp26wezkgYjjBXaf36bxtaAf S471VoQtpar0RVeFfW7WDDdfX9ZclSj36zBQe+RVSJzoNoNQfjOXWuSHb5Z+cpAFtqBY4muxK4+ia IlLJd6CN3ejOsLHATtCeHHq8wi0z2T+KdLQO+wQRgo2hjj0Lp9pGTrKJry50HP/o7Vbdu14dOx2xq r8+wPc6SQbBIrcqaa4MqCQC00vQG7eXvo+k2MOw59FDdpMH0KR9mHgp3u/s4I+4YRBArukt9G9xz/ rsEFmxAIBC6N/a6Hzwg4puc91n7ABDsPg8Vp+X3MDraujN0dvR6OKVNtABEBAAG0IFVsYWR6aW1pc iBCZWx5IDx1YmVseUBpbGJlcnMuZGU+iQFOBBMBCAA4FiEEJqPNVhVGyk12Eh+PAUQYBM/2FkoFAm O2eUkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQAUQYBM/2FkprlAgAmuna8Hm9EyoEtTl DBGDg6Zm4ZLp5ffvZBE946h92jepDrteoxsJ7pSzJVC2HmDLa4iZUao7lLLbDsUj5x45/iLJcqBZK k3YnAxP2r6a+kI+1VVQY1pxdG1nlJAbdNzoojm/qmezNPSrqni61KVMQKsXBCWhIjSXDSM9CsBj21 a+9qaVqfxovJGTn9lgrZO+xzKQNMKZeOouJlscVuFj21P0ww3/YENiU/nMeTSuYypO76mDtAd08Jo nc3yuHa9MJGei5ixN3wT+IrGR2aL2hdw2M6NgH7sYbL2Zi4ugD6RXHJai1Bh2yvFSVqSQ+M6QOInT 4ud7wslm1XRB065dXtA== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.0 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_PSBL,RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: BRQTRQQdOuOt On Mon, 2024-10-21 at 10:58 +0200, 'Felix Moessbauer' via isar-users wrote: > All non-example, non user / admin executables belong to > /usr/lib/. > Hence, move the expand-on-first-boot script there as well. This > solves an > issue in hardened systems where /usr/share is marked non-executable. >=20 > Signed-off-by: Felix Moessbauer > --- > =C2=A0.../expand-on-first-boot/expand-on-first-boot_1.5.bb=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 4 > ++-- > =C2=A0.../expand-on-first-boot/files/expand-on-first-boot.service=C2=A0= =C2=A0 | 2 +- > =C2=A02 files changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/meta/recipes-support/expand-on-first-boot/expand-on- > first-boot_1.5.bb b/meta/recipes-support/expand-on-first-boot/expand- > on-first-boot_1.5.bb > index ebb22c84..2596706d 100644 > --- a/meta/recipes-support/expand-on-first-boot/expand-on-first- > boot_1.5.bb > +++ b/meta/recipes-support/expand-on-first-boot/expand-on-first- > boot_1.5.bb > @@ -29,6 +29,6 @@ SRC_URI =3D " \ > =C2=A0=C2=A0=C2=A0=C2=A0 file://expand-last-partition.sh" > =C2=A0 > =C2=A0do_install() { > -=C2=A0=C2=A0=C2=A0 install -d -m 755 ${D}/usr/share/expand-on-first-boot > -=C2=A0=C2=A0=C2=A0 install -m 755 ${WORKDIR}/expand-last-partition.sh > ${D}/usr/share/expand-on-first-boot/ > +=C2=A0=C2=A0=C2=A0 install -d -m 755 ${D}/usr/lib/expand-on-first-boot > +=C2=A0=C2=A0=C2=A0 install -m 755 ${WORKDIR}/expand-last-partition.sh > ${D}/usr/lib/expand-on-first-boot/ > =C2=A0} > diff --git a/meta/recipes-support/expand-on-first-boot/files/expand- > on-first-boot.service b/meta/recipes-support/expand-on-first- > boot/files/expand-on-first-boot.service > index 58f4b55b..6f1799b9 100644 > --- a/meta/recipes-support/expand-on-first-boot/files/expand-on- > first-boot.service > +++ b/meta/recipes-support/expand-on-first-boot/files/expand-on- > first-boot.service > @@ -14,7 +14,7 @@ ConditionPathIsReadWrite=3D/tmp > =C2=A0 > =C2=A0[Service] > =C2=A0Type=3Doneshot > -ExecStart=3D/usr/share/expand-on-first-boot/expand-last-partition.sh > +ExecStart=3D/usr/lib/expand-on-first-boot/expand-last-partition.sh > =C2=A0ExecStartPost=3D-/bin/systemctl disable expand-on-first-boot.servic= e > =C2=A0ExecStopPost=3D-/bin/systemctl disable expand-on-first-boot.service > =C2=A0 > --=20 > 2.39.5 >=20 Applied to next, thanks. --=20 Best regards, Uladzimir. --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= 186720fe12f4e02f2d61e58bd24a5a52d67f9832.camel%40ilbers.de.