From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7172560304523444224 X-Received: by 2002:a05:6902:91a:b0:738:9bde:1a8d with SMTP id bu26-20020a056902091a00b007389bde1a8dmr2264178ybb.93.1672124480395; Mon, 26 Dec 2022 23:01:20 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a25:dc0b:0:b0:6e6:9acd:25d7 with SMTP id y11-20020a25dc0b000000b006e69acd25d7ls7279411ybe.5.-pod-prod-gmail; Mon, 26 Dec 2022 23:01:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXvi6qnklA/Vrww4a0dr46DjEYVLqcFlJgY1LQ9tU6pUckvsaTN8ZmyoDMXNSj9hAEgyv3j9 X-Received: by 2002:a25:2512:0:b0:705:28e5:db87 with SMTP id l18-20020a252512000000b0070528e5db87mr19783853ybl.5.1672124479762; Mon, 26 Dec 2022 23:01:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672124479; cv=none; d=google.com; s=arc-20160816; b=deTR++eImonN65IZyBSZSlQ8JICXQdWlOtxj1DLN9z4i//qNyEkJ1g7tel2GnltsAH wJNk0eZGuYbWjl8PMRCFwgQy1vwwruErE5w3WcZMtHMgUY4U6lYtvfrbCmJMS7YTCPnc dmPv0LpA/E9+2tV/LDB8V5vqXHkGqFt5GcxyYnj84F7AfMVy6cXhSXmy8WrqcMBwwiKR vHndHrwmcBcvapo+hQJ2duI6PUDlGOU44h2Nz/YjgAY1K5ZTrGtvRfeBXXFILBfk2Zc/ thW5ueqRbw1ohoI20eXnzxnJ/vUW5T3QlfjX7EyvwLaEqUfRLQ1bq2VjY8I6Wp+r7lna XcAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from; bh=0ezvh4DkvIzaVbcMl0jzmerxHVimwgQM0n+by+D2fRs=; b=oh/cAU9rRoCAdJB6A0vAy3Qhg5Ehf081dTPbzFK+g2JxPEeI2VgpFcOAZZzT3mxgaX 6wjfHzQbWbV3endQRp2O9YXwlyXs/I8G1O+OI2NufDnjz7dttB/5OgHKvq64lcAFQuWl TbJEa7rinFOuiL6KWSPMpzJZNEao6ul0KFKjt6Oc3smaxEsLiS7rOZmL0GuEbjGRmWB2 BjKb4ZT4jDJzTgKPd6qw1myoemwJvg8zqLacuWhPs5fqKhoprjG5Y+qqu4/O78435wyF ciDxfIdNmeJKLIF9sdA/JbGn5VQ8im3NlUny0CTBvJcdl5oW9wzTsvH52HlIg/RPUqV1 1GVw== 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 m65-20020a253f44000000b006ddea715dd2si952704yba.0.2022.12.26.23.01.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Dec 2022 23:01:19 -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 alena-nb.promwad.com ([193.228.193.9]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 2BR70jA5030666 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Dec 2022 08:01:15 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: "Roberto A. Foglietta" , Anton Mikanovich Subject: [PATCH v7 20/20] docs: update override syntax Date: Tue, 27 Dec 2022 10:00:39 +0300 Message-Id: <20221227070039.23496-21-amikan@ilbers.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221227070039.23496-1-amikan@ilbers.de> References: <20221227070039.23496-1-amikan@ilbers.de> 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: WOx7SENJRvel 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 84d50cb3..cc1e4e39 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 2797c160..086f0121 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.17.1