aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-11-28freeradius: make sub packages to runtime depends on freeradiusHongxu Jia
Otherwise install packages reported warning at do_rootfs ...log.do_rootfs... Installing : freeradius-ldap-3.0.26-r0.corei7_64 1235/1236 warning: user radiusd does not exist - using root warning: group radiusd does not exist - using root Installing : freeradius-krb5-3.0.26-r0.corei7_64 1236/1236 warning: user radiusd does not exist - using root ...log.do_rootfs... The user/group radiusd is added by package freeradius, explicitly made the sub packages to runtime depends on freeradius Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-21python3-h5py: fix wrong file driver versionhongxu
Due to commit [1] applied in hdf5 (1.13.2), import hdf5 failed |>>> import h5py |Traceback (most recent call last): | File "<stdin>", line 1, in <module> | File "/usr/lib/python3.10/site-packages/h5py/__init__.py", line 56, in <module> | from . import h5a, h5d, h5ds, h5f, h5fd, h5g, h5r, h5s, h5t, h5p, h5z, h5pl | File "h5py/h5fd.pyx", line 220, in init h5py.h5fd |RuntimeError: Wrong file driver version # (wrong file driver version #) Initial driver version to fix the error [1] https://github.com/HDFGroup/hdf5/commit/42b767fc67ad1e13735e3cee2077f2e108f9463e Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-26cdrkit: add new option -eltorito-platform for genimageisoHongxu Jia
Mkisofs/genimageiso now correctly supports El Torito multi boot entries by introducing a Boot Dection Header before a list of alternate boot entries. New option -eltorito-platform allows to set the El Torito platform id for a boot entry or for a list of boot entries. Supported values for the parameter are: - x86 the standard value vor x86 based PCs - PPC the Power PC platform - Mac The Apple Mac platform - efi EFI based boot for PCs - # an arbitrary numerical value Port implement from cdrtools: https://github.com/jobermayr/cdrtools/commit/a50804fd61d75eb689a515dbfca6968ca2296fd7 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-21io-compress-lzma-perl, io-compress-perl: Rename to use debian namesKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Hongxu Jia <hongxu.jia@windriver.com> Cc: Tim "moto-timo" Orling <ticotimo@gmail.com>
2022-03-21io-compress-lzma-perl,io-compress-perl: Do not mark allarchKhem Raj
These recipes are using target perl install during build so they can not be allarch, the issue becomes evident when libdir for target the native build hosts do not match e.g. ppc64 where target libdir is usr/lib64 then the do_configure starts to fail because it can not find Config_heavy-target.pl script which is part of tatget perl install and allarch recipes seems to assume libdir defaults to /usr/lib when accessing it. I think it can be fixed by perhaps building the missing perl files into perl native perhaps. Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Hongxu Jia <hongxu.jia@windriver.com> Cc: Tim "moto-timo" Orling <ticotimo@gmail.com>
2022-01-11grubby: fix conflict with debianutilsHongxu Jia
Both of recipe grubby and debianutils provides installkernel, use update-alternative to resolve the conflict Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-09libblockdev: Do not include duplicate entries in bd_lvm_lvs outputHongxu Jia
We use "-o segtypes" for the "lvs" command which means multisegment LVs will be twice in the output. [1] ... $ lvs --noheadings --nosuffix --nameprefixes --unquoted --units=b -a -o vg_name,lv_name,lv_uuid,lv_size,lv_attr,segtype,origin,pool_lv,data_lv,metadata_lv,role,move_pv,data_percent,metadata_percent,copy_percent,lv_tags OUTPUT: |LVM2_VG_NAME=rootvg LVM2_LV_NAME=RCSMW-ARM_CXP2020233_2_R20A154 LVM2_LV_UUID=TgjM5V-jhXX-tPTf-gPMa-c3w6-QEjo-7qkmVg LVM2_LV_SIZE=71303168 LVM2_LV_ATTR=wi-ao--- LVM2_SEGTYPE=linear LVM2_ORIGIN= LVM2_POOL_LV= LVM2_DATA_LV= LVM2_METADATA_LV= LVM2_LV_ROLE=public LVM2_MOVE_PV= LVM2_DATA_PERCENT= LVM2_METADATA_PERCENT= LVM2_COPY_PERCENT= LVM2_LV_TAGS= |LVM2_VG_NAME=rootvg LVM2_LV_NAME=RCSMW-ARM_CXP2020233_2_R20A154 LVM2_LV_UUID=TgjM5V-jhXX-tPTf-gPMa-c3w6-QEjo-7qkmVg LVM2_LV_SIZE=71303168 LVM2_LV_ATTR=wi-ao--- LVM2_SEGTYPE=linear LVM2_ORIGIN= LVM2_POOL_LV= LVM2_DATA_LV= LVM2_METADATA_LV= LVM2_LV_ROLE=public LVM2_MOVE_PV= LVM2_DATA_PERCENT= LVM2_METADATA_PERCENT= LVM2_COPY_PERCENT= LVM2_LV_TAGS= ... See [2] [1] https://github.com/storaged-project/libblockdev/pull/671 [2] https://github.com/storaged-project/libblockdev/issues/667 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-02ostree: workaround compile error with option gcc option -OgHongxu Jia
While DEBUG_BUILD = "1" in local.conf, `-Og' is added to cfalgs by Yocto, it broke ostree build with `-Werror=aggregate-return' (the -Werror=aggregate-return is added by ostree configure.ac) So remove -Og and use -O2 as workaround Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-01ostree: use Yocto mirrorHongxu Jia
Clean up PREMIRRORS setting, the Yocto mirror is updated $ mkdir ./ostree && cd ./ostree $ wget http://downloads.yoctoproject.org/mirror/sources/git2_github.com.ostreedev.ostree.tar.gz $ tar -xvf git2_github.com.ostreedev.ostree.tar.gz $ git show f1155c8d283c3c85d74d5e1050b0dcf8198f750a --oneline f1155c8d (tag: v2021.6) Release 2021.6 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-01ostree: add nativesdk supportHongxu Jia
# Changed in V2: s/$OECORE_NATIVE_SYSROOT/\$OECORE_NATIVE_SYSROOT/ for # ostree wrapper of nativesdk Refer the impment of native, use the same PACKAGECONFIG, EXTRA_OECONF and similar create_wrapper for ostree Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-02debootstrap: fix runtime failure on nativesdkHongxu Jia
While calling debootstrap in sdk, if host does not install dpkg package, the full path calling will fail Do not hardcode the full path of dpkg, then the sdk's dpkg will be used. In Yocto, for debootstrap, only dpkg is used, so the fix do not take care of other utilities (such as /usr/bin/udpkg) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11cdrkit: add nativesdk supportHongxu Jia
- Fix an absolute path symlink issue, replace with a relative link - Fix installed-vs-shipped QA Issue of nativesdk package ... |ERROR: nativesdk-cdrkit-1.1.11-r0 do_package: QA Issue: nativesdk-cdrkit: Files/directories were installed but not shipped in any package: | /opt/windriver/wrlinux-graphics/21.18/sysroots/x86_64-wrlinuxsdk-linux/usr/sbin/netscsid ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-19debootstrap: explicitly add virtual/fakeroot-native to dependsHongxu Jia
The oe-core does not add virtual/fakeroot-native to do_install of native recipe, explicitly add it for fakeroot do_install Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15debootstrap: 1.0.67 -> 1.0.123Hongxu Jia
- Excise all devices.tar.gz code - Use yocto vars to override hardcoded dir to support native and nativesdk Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-02lvm2/libdevmapper: 2.03.06 -> 2.03.11Hongxu Jia
Drop backport patch: - 0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch Refresh: - 0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-09ndpi: fix autoconf-2.71 compatibilityHongxu Jia
While DEBUG_BUILD != 1, Yocto adds option _FORTIFY_SOURCE to CPP and CC [1], since _FORTIFY_SOURCE requires -O1 or higher, if no -O1 or higher then results in a compiler warning. The configure.ac of ndpi uses macro AC_PROG_CC to test toolchain, since CPPFLAGS does not have the option -O<level> [1], while building with autoconf 2.71+, the toolchain test will report a warning. The configure.ac of ndpi uses macro AC_LANG_WERROR to treat the warning as error. Then it broke the build ... |configure: error: C preprocessor "i686-wrs-linux-gcc -E --sysroot=tmp-glibc/ work/core2-32-wrs-linux/ndpi/3.4-r0/recipe-sysroot -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security" fails sanity check ... The SELECTED_OPTIMIZATION contains option -O<level>, add SELECTED_OPTIMIZATION to CPPFLAGS to could fix the issue [1] The definition of CPP and CC and XXXFLAGS in bitbake.conf [snip] export CPP = "${HOST_PREFIX}gcc -E${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}" export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" ... export CFLAGS = "${TARGET_CFLAGS}" TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" ... export CPPFLAGS = "${TARGET_CPPFLAGS}" TARGET_CPPFLAGS = "" [snip] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-07freeradius: fix build failure with autoconf 2.71Hongxu Jia
While using autoconf 2.71, the AM_MISSING_PROG caused unexpected error: ... configure.ac: error: required file 'missing' not found ... Since these tools were explicitly added by autotools bbclass, remove the testing to workaround the error with autoconf 2.7 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-05spice: make conpatible to autoconf-2.70Hongxu Jia
In order to build with autoconf 2.7, explicitly link to jpeg lib since lib jpeg is already in DEPENDS ... | checking for jpeglib.h... ../git/configure: line 16008: CPP: command not found ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-04lksctp-tools: make conpatible to autoconf-2.70Hongxu Jia
... ./configure: line 16398: syntax error: unexpected end of file ... Backport a commit from upstream to fix it Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-21python3-wrapt: add native supportHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-16flatbuffers: add python3 supportHongxu Jia
Add package flatbuffers-python3 to install python3 scripts Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-08lvm2.inc: switch branch master to mainHongxu Jia
Keep sync with upstream Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-24python3-docopt: add version 0.6.2Hongxu Jia
It is required by python3-pykwalify cli ... $ pykwalify -h x86_64-wrlinuxsdk-linux/usr/lib/python3.8/site-packages/pykwalify/cli.py", line 11, in <module> from docopt import docopt ModuleNotFoundError: No module named 'docopt' ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-24python3-pykwalify: fix missing commaHongxu Jia
... |/usr/lib/python3.8/site-packages/pykwalify/rule.py:343: SyntaxWarning: 'tuple' object is not callable; perhaps you missed a comma? ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-24python3-dateutil/python3-pykwalify: add nativesdk supportHongxu Jia
Call pykwalify module in SDK Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-21python3-argcomplete: add recipe 1.12.0Hongxu Jia
Tab complete all the things! Argcomplete provides easy, extensible command line tab completion of arguments for your Python script. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-02python3-texttable: add recipeHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-18vboxguestdrivers: fix failed to compile with kernel 5.8.0Hongxu Jia
Backport patches from upstream [1] to fix the issue It also requires to apply a patch on 5.8 kernel [2] [1] https://www.virtualbox.org/ticket/19644 [2] https://www.virtualbox.org/raw-attachment/ticket/19644/local_patches Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-07networkmanager: fix Files/directories were installed but not shippedHongxu Jia
Since networkmanager: upgrade 1.22.10 -> 1.22.14, it added a new build option 'firewalld-zone', while enabling multilib, there is a QA issue ... ERROR: QA Issue: networkmanager: Files/directories were installed but not shipped in any package: /usr/lib/firewalld /usr/lib/firewalld/zones /usr/lib/firewalld/zones/nm-shared.xml ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-28multipath-tools: fix compiling parallel issueHongxu Jia
Add explicit dependency on libraries [snip] gcc/i686-overc-linux/10.1.0/ld: cannot find -lmpathpersist collect2: error: ld returned 1 exit status Makefile:36: recipe for target 'multipathd' failed make[1]: *** [multipathd] Error 1 make[1]: Leaving directory 'git/multipathd' Makefile:29: recipe for target 'multipathd' failed make: *** [multipathd] Error 2 ln -sf libmpathpersist.so.0 libmpathpersist.so [snip] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-03python3-grpcio: disable ccache to workaround native build failureHongxu Jia
While enabling ccache, build python3-grpcio-native failed: ... |error: can't copy 'tmp-glibc/work/x86_64-linux/python3-grpcio-native/ 1.27.1-r0/build/lib.linux-x86_64-3.8/grpc/_cython/ cygrpc.cpython-38-x86_64-linux-gnu.so': doesn't exist or not a regular file |ERROR: 'python3 setup.py build ' execution failed. ... So disable ccache to workaround the failure. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-26python3-grpcio: fix native build failure on ubuntu 16.04 and centos 8Hongxu Jia
1. Keep '-std=c++11' and '-std=gnu99' to fix native build error with old gcc (such as gcc 5.4.0 on ubuntu 16.04); for clang, remove them through setting GRPC_PYTHON_CFLAGS at do_compile in bb recipe 2. While export CC="gcc ", cc_args is empty, it will cause subprocess.Popen always return 1. On centos 8, if you don't install package libatomic, there will be a native build error `cannot find /usr/lib64/libatomic.so.1.2.0'. Add no harm '-g' to cc_args if cc_args is empty. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-02python3-astor: fix VERSION file not foundHongxu Jia
... import astor File "/usr/lib/python3.7/site-packages/astor/__init__.py", line 24, in <module> with open(os.path.join(ROOT, 'VERSION')) as version_file: FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.7/site-packages/astor/VERSION' ... Place the value in a simple VERSION text file and have both setup.py and the project code read it. With this approach you must make sure that the VERSION file is included in all your source and binary distributions (e.g. add include VERSION to your MANIFEST.in). [1] [1] https://packaging.python.org/guides/single-sourcing-package-version/ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-19gvfs: add user polkitd and missing dependsHongxu Jia
1. Since commit [664e550 gvfs: Fix build regression from uprev] applied, it chmod polkitd but missed to useradd polkitd at do_rootfs 2. Add dbus to DEPENDS ... | Run-time dependency dbus-1 found: NO (tried pkgconfig) | | meson.build:254:0: ERROR: Dependency "dbus-1" not found, tried pkgconfig ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06python-configparser: add python-pkgutil to runtime dependsHongxu Jia
... $ python $ >>> import backports Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/backports/__init__.py", line 4, in <module> from pkgutil import extend_path ImportError: No module named pkgutil ... Modeule pkgutil comes from python-pkgutil Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06python-importlib-metadata: add python-compression to runtime dependsHongxu Jia
... $ python $ >>> import importlib_metadata Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/importlib_metadata/__init__.py", line 9, in <module> import zipp File "/usr/lib/python2.7/site-packages/zipp.py", line 8, in <module> import zipfile ImportError: No module named zipfile ... Module zipfile comes from python-compression Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06python3-importlib-metadata: add python3-misc to runtime dependsHongxu Jia
... $ python3 $ >>> import importlib_metadata Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 15, in <module> from ._compat import ( File "/usr/lib/python3.7/site-packages/importlib_metadata/_compat.py", line 28, in <module> import pathlib ModuleNotFoundError: No module named 'pathlib' ... Module pathlib comes from python3-misc Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06python-contextlib2/python3-contextlib2: add version 0.6.0Hongxu Jia
The python-contextlib2 is required by python-importlib-metadata, the newly added recipes refers the one in meta-cloud-services Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06python-scandir: add version 1.10.0Hongxu Jia
It is required by python-pathlib2. The recipe refers the duplicated one in meta-iot-cloud Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06python-pathlib2: add python-scandir and python-misc to runtime dependsHongxu Jia
... $ >>> python $ >>> import pathlib2 as pathlib Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/pathlib2/__init__.py", line 52, in <module> from scandir import scandir as os_scandir ImportError: No module named scandir $ >>> import pathlib2 as pathlib ceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/pathlib2/__init__.py", line 9, in <module> import ntpath ImportError: No module named ntpath ... Module scandir comes from python-scandir and ntpath comes from python-misc Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06python-importlib-metadata: add missing runtime dependsHongxu Jia
>From setup.cfg: ... 20 install_requires = 21 zipp>=0.5 22 pathlib2; python_version=='3.4.*' or python_version < '3' 23 contextlib2; python_version < '3' 24 configparser>=3.5; python_version < '3' ... Add missing runtime depends while python version < '3' Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06python-more-itertools: downgrade 7.2.0 -> 5.0.0Hongxu Jia
Python 2.7 is no longer supported. The 5.0.0 release will be the last version targeting Python 2.7. [1] [1] https://github.com/erikrose/more-itertools/commit/560b045b430e8292c18cf5283de4fdc3e13e56f7 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06python-more-itertools.inc: fix python2 package not incorrectly generatedHongxu Jia
The package of python2 is incorrected generated to python3 ... tmp-glibc/work/core2-64-wrs-linux/python-more-itertools/7.2.0-r0$ find image/ image/ image/usr image/usr/lib64 image/usr/lib64/python3.7 image/usr/lib64/python3.7/site-packages image/usr/lib64/python3.7/site-packages/more_itertools image/usr/lib64/python3.7/site-packages/more_itertools/__init__.py image/usr/lib64/python3.7/site-packages/more_itertools/more.py image/usr/lib64/python3.7/site-packages/more_itertools/recipes.py image/usr/lib64/python3.7/site-packages/more_itertools/tests image/usr/lib64/python3.7/site-packages/more_itertools/tests/__init__.py image/usr/lib64/python3.7/site-packages/more_itertools/tests/test_more.py image/usr/lib64/python3.7/site-packages/more_itertools/tests/test_recipes.py image/usr/lib64/python3.7/site-packages/more_itertools/tests/__pycache__ image/usr/lib64/python3.7/site-packages/more_itertools/tests/__pycache__/__init__.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools/tests/__pycache__/test_more.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools/tests/__pycache__/test_recipes.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools/__pycache__ image/usr/lib64/python3.7/site-packages/more_itertools/__pycache__/__init__.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools/__pycache__/more.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools/__pycache__/recipes.cpython-37.pyc image/usr/lib64/python3.7/site-packages/more_itertools-7.2.0-py3.7.egg-info image/usr/lib64/python3.7/site-packages/more_itertools-7.2.0-py3.7.egg-info/PKG-INFO image/usr/lib64/python3.7/site-packages/more_itertools-7.2.0-py3.7.egg-info/SOURCES.txt image/usr/lib64/python3.7/site-packages/more_itertools-7.2.0-py3.7.egg-info/dependency_links.txt image/usr/lib64/python3.7/site-packages/more_itertools-7.2.0-py3.7.egg-info/top_level.txt ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06python-pluggy: add python-importlib-metadata to RDEPENDSHongxu Jia
$ python3 $ >>> import pluggy Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 16, in <module> from .manager import PluginManager, PluginValidationError File "/usr/lib64/python2.7/site-packages/pluggy/manager.py", line 11, in <module> import importlib_metadata ImportError: No module named importlib_metadata $ python $ >>> import pluggy Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 16, in <module> from .manager import PluginManager, PluginValidationError File "/usr/lib64/python2.7/site-packages/pluggy/manager.py", line 11, in <module> import importlib_metadata File "/usr/lib64/python2.7/site-packages/importlib_metadata/__init__.py", line 9, in <module> import zipp File "/usr/lib64/python2.7/site-packages/zipp.py", line 12, in <module> import more_itertools ImportError: No module named more_itertools Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25postfix.inc: make deterministic buildHongxu Jia
This postinst can fail depending on host setup, which makes non-deterministic build on different host. Use postinst ontarget to always fail at do_rootfs and rerun at target first boot. In this situation, remove postfix-native from PACKAGE_WRITE_DEPS Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25postfix: split /etc from ${PN} to ${PN}-cfg for ostreeHongxu Jia
In postinst of ${PN}, call newaliases on etc may fail at do_rootfs due to host setup. If fail, the postinst will rerun at target first boot which cause update-alternatives in postinst rerun. For ostree system, /usr is readonly, /etc is writable, the update-alternatives will be failed when run on target since it needs write files in /usr. Split the postinst into two packages can fix the problem: * update-alternatives runs at do_rootfs * newaliases runs at do_rootfs or first boot, it needs write files in /etc when run at first boot, while /etc is writable for ostree. For non-ostree, everything will be OK as normal Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-17lvm2/libdevmapper: 2.03.02 -> 2.03.05Hongxu Jia
1. Change to git repo 2. Backport three patches to fix the following issue: While commit [cd735ab1df systemd: upgrade to 243] applied in oe-core, lvmremove hung as following steps: ... dd if=/dev/zero of=./p0 bs=1M count=100 dd if=/dev/zero of=./p1 bs=1M count=100 losetup /dev/loop20 ./p0 losetup /dev/loop21 ./p1 pvcreate -y /dev/loop20 -ff pvcreate -y /dev/loop21 -ff vgcreate rootvg /dev/loop20 /dev/loop21 lvcreate -v -y -L 50 -n rootlv rootvg mkfs -t ext4 /dev/rootvg/rootlv mkdir -p ./lv mount /dev/rootvg/rootlv ./lv lvcreate -v -L 50 -s -n backup /dev/rootvg/rootlv lvconvert -v --merge -i 1 /dev/rootvg/backup umount ./lv vgchange -v -an vgchange -v -ay lvremove -f /dev/rootvg/rootlv ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-10lvm2: remove unsupported OPTIONS+="event_timeout" ruleHongxu Jia
The OPTIONS+="event_timeout" is Unsupported since systemd/udev version 216, that is ~5 years ago. Since systemd/udev version 243, there's a new message printed if unsupported OPTIONS value is used: Invalid value for OPTIONS key, ignoring: 'event_timeout=180' Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1740666 The fix works on lvm2, it is not necessary for libdevmapper Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-30lvm2: fix run lvcreate hung while PACKAGECONFIG udevHongxu Jia
Since lvm2-udevrules was removed from lvm RRECOMMENDS in the following commit: [3f64779ea libdevmapper/lvm2: force recipe libdevmapper to populate sysroot only] Execute the following command hung: $ dd if=/dev/zero of=./p0 bs=1M count=100 $ dd if=/dev/zero of=./p1 bs=1M count=100 $ losetup /dev/loop20 ./p0 $ losetup /dev/loop21 ./p1 $ pvcreate -y /dev/loop20 -ff $ pvcreate -y /dev/loop21 -ff $ vgcreate rootvg /dev/loop20 /dev/loop21 $ lvcreate -v -y -L 50 -n rootlv rootvg Add the missing pacakge to PACKAGECONFIG[udev] runtime depends could fix the issue. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-03lvm2: fix blkdeactivate failed with command not foundHongxu Jia
Run blkdeactivate failed: ... root@intel-x86-64:~# /usr/sbin/blkdeactivate Deactivating block devices: /usr/sbin/blkdeactivate: line 345: /bin/lsblk: No such file or directory /usr/sbin/blkdeactivate: line 345: /bin/sort: No such file or directory /usr/sbin/blkdeactivate: line 345: /bin/lsblk: No such file or directory /usr/sbin/blkdeactivate: line 384: SKIP_DEVICE_LIST: bad array subscript ... - Add missing runtime depends - Set location of the commands Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>