mirror of
https://github.com/clearlinux/bundle-chroot-builder.git
synced 2026-08-19 03:57:21 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1bb15ab253 | |||
| 02f5c8fad9 | |||
| 579f606714 | |||
| 537bacec41 | |||
| 0e50054fa1 | |||
| bcffbb7096 |
+2
-3
@@ -2,9 +2,8 @@
|
|||||||
SERVER_STATE_DIR=/home/clr/mix/update
|
SERVER_STATE_DIR=/home/clr/mix/update
|
||||||
BUNDLE_DIR=/home/clr/mix/mix-bundles
|
BUNDLE_DIR=/home/clr/mix/mix-bundles
|
||||||
YUM_CONF=/home/clr/mix/.yum-mix.conf
|
YUM_CONF=/home/clr/mix/.yum-mix.conf
|
||||||
CERT=/home/clr/mix/ClearLinuxRoot.pem
|
CERT=/home/clr/mix/Swupd_Root.pem
|
||||||
CLEAR_VERSION=VER
|
VERSIONS_PATH=/home/clr/mix
|
||||||
MIX_VERSION=VER
|
|
||||||
|
|
||||||
[swupd]
|
[swupd]
|
||||||
BUNDLE=os-core-update
|
BUNDLE=os-core-update
|
||||||
|
|||||||
@@ -335,6 +335,10 @@ def create_chroots(args, state_dir, bundles, yum_conf):
|
|||||||
if package_name not in package_mapping:
|
if package_name not in package_mapping:
|
||||||
package_mapping[package_name] = set()
|
package_mapping[package_name] = set()
|
||||||
for path in path_list:
|
for path in path_list:
|
||||||
|
# RPM prints out a specific string for subpackages that contain no
|
||||||
|
# files. It should be excluded from the SRPM file list.
|
||||||
|
if re.match(br"\(contains no files\)\n", path):
|
||||||
|
continue
|
||||||
package_mapping[package_name].add(path)
|
package_mapping[package_name].add(path)
|
||||||
for package_name, paths in package_mapping.items():
|
for package_name, paths in package_mapping.items():
|
||||||
with open(out_dir + "/files-{}".format(package_name), "wb") as file:
|
with open(out_dir + "/files-{}".format(package_name), "wb") as file:
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
AC_PREREQ([2.68])
|
AC_PREREQ([2.68])
|
||||||
AC_INIT([bundle-chroot-builder],[1.09],[tudor.marcu@intel.com],[bundle-chroot-builder])
|
AC_INIT([bundle-chroot-builder],[1.10],[tudor.marcu@intel.com],[bundle-chroot-builder])
|
||||||
AM_INIT_AUTOMAKE([foreign silent-rules color-tests no-dist-gzip dist-xz])
|
AM_INIT_AUTOMAKE([foreign silent-rules color-tests no-dist-gzip dist-xz])
|
||||||
AC_CONFIG_FILES(Makefile)
|
AC_CONFIG_FILES(Makefile)
|
||||||
AC_PREFIX_DEFAULT(/usr/local)
|
AC_PREFIX_DEFAULT(/usr/local)
|
||||||
|
|||||||
Reference in New Issue
Block a user