From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7192672744921628672 X-Received: by 2002:a05:6808:158e:b0:35e:3967:2dcf with SMTP id t14-20020a056808158e00b0035e39672dcfmr1835968oiw.221.1674674653982; Wed, 25 Jan 2023 11:24:13 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a54:4d86:0:b0:35a:f69:4b04 with SMTP id y6-20020a544d86000000b0035a0f694b04ls6035217oix.6.-pod-prod-gmail; Wed, 25 Jan 2023 11:24:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXthIset6l/tYvW+f1cEFzqwFgcaJTt8sXuKXRCtE/GAOLa0S2D2ZQ83/p6sBQiD2VjZSauD X-Received: by 2002:a05:6808:2204:b0:367:1c4f:cb13 with SMTP id bd4-20020a056808220400b003671c4fcb13mr23182730oib.37.1674674653316; Wed, 25 Jan 2023 11:24:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674674653; cv=none; d=google.com; s=arc-20160816; b=gEYFQnOqzhgo017PIBfXpHBE1R/uuQMeGZZQ6s+fQpZoEwLNojnQI1076SMCVvo3Wo axGcxpMlRggVBzTtXiUCbIp9Svn0puLV0QLkqQ1OryT1pzX5IH4XrlvLwUU5cb121pmo NJJDOFiPpMwqChOCgg3AMdAgguxpwbC+lvDukPXZ+GBc01Q3XTbGqg1y/6QclyGB+y+Y J0gQvg2l4JgV1LHEyid77XgIzALK3FU039V6lXDj6EQEJvi3haghf7+Hnze+rUNotQBi l1cQm40uHvhVnCUZcqtK3f38BVuFWcRzo0Asy4v8+Wm1d61s5lYBXzWB04qcFU0bo93v HMDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=qN0WREBWhtJ5+u6x8gNBhtpUgrGuszGN7O0KgZFUSPI=; b=CxwRipb24/ChDMK1B7Rof2kUnwKFRjaNOtPQUld/edU5R65wXHQXfdE1/0KV5dgPHS ROTN1MFG3l0i8ohC1TA1MJnvXUwo3VaB4gcOHJxT90NdvHZlRz7HM+N1h1Uu36i4C3/p HIfovOa4q2QhJENRYENzcTNnpMJhqzIvNM9ig9JQK7XsHoaJGayRtTEXyPM2Z1x6cIiu iZitbJLz4CWcaAoKwo82PgTRGAtYGEARK510Iyc4g/O68g8szmnuVjlGvlrUaAobTEJa 6ntW2Ec4gekXulRiXrwlUHhRLWYxkCCXs7ZdYBfixwyqeVIrAiaIfQPv3foESZdbaXQm vo8A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id cy23-20020a056830699700b0067054a075b7si1176725otb.2.2023.01.25.11.24.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Jan 2023 11:24:13 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from user-B660.. (IN-213-226-141-182.bitemobile.lv [213.226.141.182] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 30PJNdaZ028378 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Jan 2023 20:24:09 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: "Roberto A. Foglietta" , Anton Mikanovich Subject: [PATCH v8 20/20] docs: update override syntax Date: Wed, 25 Jan 2023 21:23:37 +0200 Message-Id: <20230125192337.86869-21-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230125192337.86869-1-amikan@ilbers.de> References: <20230125192337.86869-1-amikan@ilbers.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED 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-TUID: B1YYZB13gQD9 From: "Roberto A. Foglietta" Update documentation after the switch to bitbake 2.0 syntax. Signed-off-by: Roberto A. Foglietta Signed-off-by: Anton Mikanovich --- doc/offline.md | 4 ++-- doc/user_manual.md | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/offline.md b/doc/offline.md index 84d50cb..cc1e4e3 100644 --- a/doc/offline.md +++ b/doc/offline.md @@ -96,9 +96,9 @@ DISTRO_APT_PREMIRRORS = "\ ftp\.de\.debian\.org localhost\n\ security\.debian\.org localhost/debian-security\n" -PREMIRRORS_prepend = "git://github.com/ git://localhost/git/\n" +PREMIRRORS:prepend = "git://github.com/ git://localhost/git/\n" -FETCHCMD_git = "GIT_SSL_NO_VERIFY=1 git -c core.fsyncobjectfiles=0" +FETCHCMD:git = "GIT_SSL_NO_VERIFY=1 git -c core.fsyncobjectfiles=0" ``` Setting `GIT_SSL_NO_VERIFY` is necessary if SSL certificate is self-signed or diff --git a/doc/user_manual.md b/doc/user_manual.md index 2797c16..086f012 100644 --- a/doc/user_manual.md +++ b/doc/user_manual.md @@ -589,8 +589,8 @@ $ vim meta-user/classes/my-image.bbclass Specify the command to generate the new image, and optionally image type dependencies or required arguments: ``` -IMAGE_TYPEDEP_my_image = "ext4" -IMAGE_CMD_REQUIRED_ARGS_my_image = "MY_ARG" +IMAGE_TYPEDEP:my_image = "ext4" +IMAGE_CMD_REQUIRED_ARGS:my_image = "MY_ARG" IMAGE_CMD_my_image() { INPUT="${PP_DEPLOY}/${IMAGE_FULLNAME}.ext4" ${SUDO_CHROOT} my_command ${MY_ARG} -i ${INPUT} -o ${IMAGE_FILE_CHROOT} @@ -607,8 +607,8 @@ variables: If the code you provide in `IMAGE_CMD` requires the building and/or installation of additional packages in the buildchroot, you can specify this: ``` -IMAGER_BULID_DEPS_my_image = "my_command" -IMAGER_INSTALL_my_image = "my_command" +IMAGER_BULID_DEPS:my_image = "my_command" +IMAGER_INSTALL:my_image = "my_command" ``` To use your custom image class, add it to `IMAGE_CLASSES` in your machine config: @@ -663,7 +663,7 @@ The `GROUP_` variable contains the settings of a group named `groupna - `flags` - A list of additional flags of the group. Those are the currently recognized flags: - `system` - The group is created using the `--system` parameter. -The `USERS` and `USER_` variable works similar to the `GROUPS` and `GROUP_` variable. The difference are the accepted flags of the `USER_` variable. It accepts the following flags: +The `USERS` and `USER:` variable works similar to the `GROUPS` and `GROUP:` variable. The difference are the accepted flags of the `USER:` variable. It accepts the following flags: - `password` - The crypt(3) encrypted password. To encrypt a password use for example `mkpasswd` or `openssl passwd -6`. You can find `mkpasswd` in the `whois` package of Debian. - `expire` - A `YYYY-MM-DD` formatted date on which the user account will be disabled. (see useradd(8)) @@ -1300,8 +1300,8 @@ To the local.conf add: ``` IMAGE_PREINSTALL += "docker-ce" -THIRD_PARTY_APT_KEYS_append = " https://download.docker.com/linux/debian/gpg;md5sum=1afae06b34a13c1b3d9cb61a26285a15" -DISTRO_APT_SOURCES_append = " conf/distro/docker-buster.list" +THIRD_PARTY_APT_KEYS:append = " https://download.docker.com/linux/debian/gpg;md5sum=1afae06b34a13c1b3d9cb61a26285a15" +DISTRO_APT_SOURCES:append = " conf/distro/docker-buster.list" ``` And build the corresponding image target: -- 2.34.1