public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: claudius.heine.ext@siemens.com, isar-users@googlegroups.com
Cc: Claudius Heine <ch@denx.de>
Subject: Re: [PATCH v4 0/8] pre-processing pipeline and transient package replacement
Date: Fri, 24 May 2019 14:56:16 +0200	[thread overview]
Message-ID: <7965f1ec-bc24-2c41-ad9a-0d9529b7a640@ilbers.de> (raw)
In-Reply-To: <20190523145521.23050-1-claudius.heine.ext@siemens.com>

Hi Claudius,

CI passed OK.

But when I tried to manually test SDK creation procedure (as exactly 
described in user_manual) it failed:

I've mounted needed directories with
'mount_chroot.sh sdk-debian-stretch-armhf

and chroot'ed into sdk:

root@tiberius:/#  apt-get install libhello-dev:armhf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
   gcc-6-base:armhf libc6:armhf libgcc1:armhf libhello:armhf
Suggested packages:
   glibc-doc:armhf locales:armhf
The following NEW packages will be installed:
   gcc-6-base:armhf libc6:armhf libgcc1:armhf libhello:armhf 
libhello-dev:armhf
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,564 kB of archives.
After this operation, 8,987 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 file:/base-apt/debian stretch/main armhf gcc-6-base armhf 
6.3.0-18+deb9u1 [180 kB]
Err:1 file:/base-apt/debian stretch/main armhf gcc-6-base armhf 
6.3.0-18+deb9u1
   File not found - 
/base-apt/debian/pool/main/g/gcc-6/gcc-6-base_6.3.0-18+deb9u1_armhf.deb 
(2: No such file or directory)
Get:2 file:/base-apt/debian stretch/main armhf libgcc1 armhf 
1:6.3.0-18+deb9u1 [38.5 kB]
Err:2 file:/base-apt/debian stretch/main armhf libgcc1 armhf 
1:6.3.0-18+deb9u1
   File not found - 
/base-apt/debian/pool/main/g/gcc-6/libgcc1_6.3.0-18+deb9u1_armhf.deb (2: 
No such file or directory)
Get:3 file:/base-apt/debian stretch/main armhf libc6 armhf 
2.24-11+deb9u4 [2,341 kB]
Err:3 file:/base-apt/debian stretch/main armhf libc6 armhf 2.24-11+deb9u4
   File not found - 
/base-apt/debian/pool/main/g/glibc/libc6_2.24-11+deb9u4_armhf.deb (2: No 
such file or directory)
Get:4 file:/isar-apt isar/main armhf libhello armhf 0.1 [2,826 B]
Get:5 file:/isar-apt isar/main armhf libhello-dev armhf 0.1 [2,418 B]
E: Failed to fetch 
file:/base-apt/debian/pool/main/g/gcc-6/gcc-6-base_6.3.0-18+deb9u1_armhf.deb 
  File not found - 
/base-apt/debian/pool/main/g/gcc-6/gcc-6-base_6.3.0-18+deb9u1_armhf.deb 
(2: No such file or directory)
E: Failed to fetch 
file:/base-apt/debian/pool/main/g/gcc-6/libgcc1_6.3.0-18+deb9u1_armhf.deb 
  File not found - 
/base-apt/debian/pool/main/g/gcc-6/libgcc1_6.3.0-18+deb9u1_armhf.deb (2: 
No such file or directory)
E: Failed to fetch 
file:/base-apt/debian/pool/main/g/glibc/libc6_2.24-11+deb9u4_armhf.deb 
File not found - 
/base-apt/debian/pool/main/g/glibc/libc6_2.24-11+deb9u4_armhf.deb (2: No 
such file or directory)
E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?
root@tiberius:/# apt-get update
Get:1 file:/base-apt/debian stretch InRelease
Ign:1 file:/base-apt/debian stretch InRelease
Get:2 file:/isar-apt isar InRelease
Ign:2 file:/isar-apt isar InRelease
Get:3 file:/base-apt/debian stretch Release
Ign:3 file:/base-apt/debian stretch Release
Get:4 file:/isar-apt isar Release [3,584 B]
Get:5 file:/base-apt/debian stretch/main armhf Packages
Ign:5 file:/base-apt/debian stretch/main armhf Packages
Get:6 file:/base-apt/debian stretch/main all Packages
Ign:6 file:/base-apt/debian stretch/main all Packages
Get:7 file:/base-apt/debian stretch/main amd64 Packages
Ign:7 file:/base-apt/debian stretch/main amd64 Packages
Get:8 file:/base-apt/debian stretch/main Translation-en_US
Ign:8 file:/base-apt/debian stretch/main Translation-en_US
Get:9 file:/base-apt/debian stretch/main Translation-en
Ign:9 file:/base-apt/debian stretch/main Translation-en
Get:4 file:/isar-apt isar Release [3,584 B]
Get:5 file:/base-apt/debian stretch/main armhf Packages
Ign:5 file:/base-apt/debian stretch/main armhf Packages
Get:6 file:/base-apt/debian stretch/main all Packages
Ign:6 file:/base-apt/debian stretch/main all Packages
Get:7 file:/base-apt/debian stretch/main amd64 Packages
Ign:7 file:/base-apt/debian stretch/main amd64 Packages
Get:10 file:/isar-apt isar Release.gpg
Ign:10 file:/isar-apt isar Release.gpg
Get:8 file:/base-apt/debian stretch/main Translation-en_US
Ign:8 file:/base-apt/debian stretch/main Translation-en_US
Get:9 file:/base-apt/debian stretch/main Translation-en
Ign:9 file:/base-apt/debian stretch/main Translation-en
Get:5 file:/base-apt/debian stretch/main armhf Packages
Ign:5 file:/base-apt/debian stretch/main armhf Packages
Get:6 file:/base-apt/debian stretch/main all Packages
Ign:6 file:/base-apt/debian stretch/main all Packages
Get:7 file:/base-apt/debian stretch/main amd64 Packages
Ign:7 file:/base-apt/debian stretch/main amd64 Packages
Get:8 file:/base-apt/debian stretch/main Translation-en_US
Ign:8 file:/base-apt/debian stretch/main Translation-en_US
Get:9 file:/base-apt/debian stretch/main Translation-en
Ign:9 file:/base-apt/debian stretch/main Translation-en
Get:5 file:/base-apt/debian stretch/main armhf Packages
Ign:5 file:/base-apt/debian stretch/main armhf Packages
Get:6 file:/base-apt/debian stretch/main all Packages
Ign:6 file:/base-apt/debian stretch/main all Packages
Get:7 file:/base-apt/debian stretch/main amd64 Packages
Ign:7 file:/base-apt/debian stretch/main amd64 Packages
Get:8 file:/base-apt/debian stretch/main Translation-en_US
Ign:8 file:/base-apt/debian stretch/main Translation-en_US
Get:9 file:/base-apt/debian stretch/main Translation-en
Ign:9 file:/base-apt/debian stretch/main Translation-en
Get:5 file:/base-apt/debian stretch/main armhf Packages
Ign:5 file:/base-apt/debian stretch/main armhf Packages
Get:6 file:/base-apt/debian stretch/main all Packages
Ign:6 file:/base-apt/debian stretch/main all Packages
Get:7 file:/base-apt/debian stretch/main amd64 Packages
Ign:7 file:/base-apt/debian stretch/main amd64 Packages
Get:8 file:/base-apt/debian stretch/main Translation-en_US
Ign:8 file:/base-apt/debian stretch/main Translation-en_US
Get:9 file:/base-apt/debian stretch/main Translation-en
Ign:9 file:/base-apt/debian stretch/main Translation-en
Get:5 file:/base-apt/debian stretch/main armhf Packages
Err:5 file:/base-apt/debian stretch/main armhf Packages
   File not found - 
/base-apt/debian/dists/stretch/main/binary-armhf/Packages (2: No such 
file or directory)
Get:6 file:/base-apt/debian stretch/main all Packages
Ign:6 file:/base-apt/debian stretch/main all Packages
Reading package lists... Done
E: Failed to fetch 
file:/base-apt/debian/dists/stretch/main/binary-armhf/Packages  File not 
found - /base-apt/debian/dists/stretch/main/binary-armhf/Packages (2: No 
such file or directory)
E: Some index files failed to download. They have been ignored, or old 
ones used instead.


Regards,
Maxim.

On 5/23/19 4:55 PM, claudius.heine.ext@siemens.com wrote:
> From: Claudius Heine <ch@denx.de>
> 
> Hi,
> 
> I decided to heed Hennings advice and order the removal patch before the split
> patch. This way the transient package removal patch becomes more complete.
> 
> regards,
> Claudius
> 
> changes from v3:
>   - ordered the transient package removal patch before the split
> 
> changes from v2:
>   - added 'copy-package-cache' to the ROOTFS_FEATURES in image.bbclass
> 
> changes from v1:
>   - rebased to current next
>   - added some more documentation
> 
> Claudius Heine (8):
>    meta: remove transient package support
>    split up isar-bootstrap helper and implement pre-process pipeline
>    meta/classes: add image-locales-extension class
>    meta/classes: add image-account-extension class
>    doc: update description of image customization
>    doc: some fixes
>    meta-isar: local.conf.sample: update root password and isar user
>      creation
>    RECIPE-API-CHANGELOG: update transient package removal + root password
> 
>   RECIPE-API-CHANGELOG.md                       |  22 ++
>   doc/user_manual.md                            |  53 +++-
>   meta-isar/conf/local.conf.sample              |  12 +-
>   .../recipes-app/example-raw/files/postinst    |  13 -
>   meta/classes/image-account-extension.bbclass  | 257 ++++++++++++++++++
>   meta/classes/image-locales-extension.bbclass  |  97 +++++++
>   meta/classes/image.bbclass                    |  30 +-
>   meta/classes/isar-bootstrap-helper.bbclass    | 143 ----------
>   meta/classes/rootfs.bbclass                   | 176 +++++++++++-
>   .../isar-bootstrap/isar-bootstrap.inc         |   5 +
>   .../buildchroot/buildchroot-host.bb           |  16 +-
>   .../buildchroot/buildchroot-target.bb         |   2 -
>   .../buildchroot/buildchroot.inc               |  26 +-
>   meta/recipes-devtools/sdkchroot/sdkchroot.bb  |  48 ++--
>   .../isar-cfg-localepurge/files/postinst       |  15 -
>   .../isar-cfg-localepurge.bb                   |  70 -----
>   .../isar-cfg-rootpw/files/postinst.tmpl       |  19 --
>   .../isar-cfg-rootpw/isar-cfg-rootpw.bb        |  19 --
>   18 files changed, 663 insertions(+), 360 deletions(-)
>   create mode 100644 meta/classes/image-account-extension.bbclass
>   create mode 100644 meta/classes/image-locales-extension.bbclass
>   delete mode 100644 meta/classes/isar-bootstrap-helper.bbclass
>   delete mode 100644 meta/recipes-support/isar-cfg-localepurge/files/postinst
>   delete mode 100644 meta/recipes-support/isar-cfg-localepurge/isar-cfg-localepurge.bb
>   delete mode 100644 meta/recipes-support/isar-cfg-rootpw/files/postinst.tmpl
>   delete mode 100644 meta/recipes-support/isar-cfg-rootpw/isar-cfg-rootpw.bb
> 


-- 
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov

  parent reply	other threads:[~2019-05-24 12:56 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-23 14:55 claudius.heine.ext
2019-05-23 14:55 ` [PATCH v4 1/8] meta: remove transient package support claudius.heine.ext
2019-05-23 14:55 ` [PATCH v4 2/8] split up isar-bootstrap helper and implement pre-process pipeline claudius.heine.ext
2019-05-24 12:49   ` Maxim Yu. Osipov
2019-05-27  6:55     ` Claudius Heine
2019-05-27  7:20       ` Maxim Yu. Osipov
2019-05-27  7:36         ` Maxim Yu. Osipov
2019-05-27  8:30           ` Claudius Heine
2019-05-27  9:03         ` Claudius Heine
2019-05-27  9:49           ` Maxim Yu. Osipov
2019-05-27 10:44             ` [PATCH] rootfs.bbclass: add comment about task weights claudius.heine.ext
2019-05-29 12:38               ` Maxim Yu. Osipov
2019-08-14 16:00   ` [PATCH v4 2/8] split up isar-bootstrap helper and implement pre-process pipeline Jan Kiszka
2019-08-19  6:59     ` Claudius Heine
2019-08-19  7:02       ` Jan Kiszka
2019-08-19  7:09         ` Claudius Heine
2019-05-23 14:55 ` [PATCH v4 3/8] meta/classes: add image-locales-extension class claudius.heine.ext
2019-05-23 14:55 ` [PATCH v4 4/8] meta/classes: add image-account-extension class claudius.heine.ext
2019-05-31  7:29   ` Jan Kiszka
2019-06-03  9:14     ` Claudius Heine
2019-05-23 14:55 ` [PATCH v4 5/8] doc: update description of image customization claudius.heine.ext
2019-05-23 14:55 ` [PATCH v4 6/8] doc: some fixes claudius.heine.ext
2019-05-23 14:55 ` [PATCH v4 7/8] meta-isar: local.conf.sample: update root password and isar user creation claudius.heine.ext
2019-05-23 14:55 ` [PATCH v4 8/8] RECIPE-API-CHANGELOG: update transient package removal + root password claudius.heine.ext
2019-05-24 12:56 ` Maxim Yu. Osipov [this message]
2019-05-27  7:56   ` [PATCH v4 0/8] pre-processing pipeline and transient package replacement Claudius Heine
2019-05-27  8:10     ` Maxim Yu. Osipov
2019-05-27  8:24       ` Claudius Heine
2019-05-27  9:28         ` Maxim Yu. Osipov
2019-05-27 15:22 ` Maxim Yu. Osipov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7965f1ec-bc24-2c41-ad9a-0d9529b7a640@ilbers.de \
    --to=mosipov@ilbers.de \
    --cc=ch@denx.de \
    --cc=claudius.heine.ext@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox