root/build-tools
Haiqing Bai dde1695ed0 build-image: Fixed debootstrap tar cache issue
In order to speed up the build-image, the minbase debootstrap
tar is cached and will be reused by the next build-image with
'--keep' option. The case is that the package 'libudev1' from
'deb-merge-all' is provided by 'systemd' that is upgraded to
a new version, but the cached debootstrap tar contains an older
version of 'libudev1' which causes the conflict like below
when running 'build-image --keep':
"The following packages have unmet dependencies:
 systemd : Depends: libsystemd0 (= 247.3-7+deb11u2.stx.9) \
           but 247.3-7.stx.8 is to be installed
 udev : Depends: libudev1 (= 247.3-7+deb11u2.stx.9) \
           but 247.3-7.stx.8 is to be installed
 E: Unable to correct problems, you have held broken packages."

Test Plan:
Pass: #build-image
      #Apply patch to 'systemd' or make changes to upgrade it
      #commit the change
      #build-image --keep

Closes-Bug: 2027756

Change-Id: I43c17a5430ccf7c1da1d5558543715b4bf941813
Signed-off-by: Haiqing Bai <haiqing.bai@windriver.com>
2023-07-16 16:49:11 +08:00
..
2018-06-27 13:04:02 -04:00
2018-09-17 16:41:31 -04:00
2018-09-17 16:41:31 -04:00
2018-06-01 07:45:23 -07:00
2021-02-19 12:33:58 -05:00
2022-04-11 09:25:08 -04:00
2018-09-07 14:44:37 -04:00
2018-09-07 14:44:37 -04:00
2020-06-08 16:54:14 +08:00
2022-05-10 17:09:08 -04:00