Skip to content

Commit d4c8ba2

Browse files
committed
2.50.0
- New features: + New feature to add block device modules. + New feature to add MD modules. + New UKI feature to create a Unified Kernel Image which can be booted directly from UEFI firmware. - Feature kickstart: + Add alias /dev/root. This will allow to create images with a file system with an arbitrary uuid without running make-initrd. + Add increasing filesystems (ext4, xfs, f2fs) along with the partition change. + Rewrite block devices detection. + Fix work with busybox (use wrapper readlink-e). - Feature add-modules: + Add workaround to add crc32 for f2fs. - Feature fsck: + Add workaround for altlinux where fsck has non upstream compatible options. - Misc: + make-initrd: Reorder arguments and make variables in the command line. + initrd-put: Extend the mechanism for ignoring elf_dlopen dependencies. + initrd-put: Ignore "archive" feature in libsystemd-shared.so by default. + Search kernel System.map in the /lib/modules/<kver>. + Search kernel config in the /lib/modules/<kver>. Signed-off-by: Alexey Gladkov <[email protected]>
1 parent cd36d5e commit d4c8ba2

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

aclocal.m4

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,21 @@ m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
6060
[m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
6161
])dnl PKG_PREREQ
6262

63-
dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
64-
dnl ----------------------------------
63+
dnl PKG_PROG_PKG_CONFIG([MIN-VERSION], [ACTION-IF-NOT-FOUND])
64+
dnl ---------------------------------------------------------
6565
dnl Since: 0.16
6666
dnl
6767
dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
6868
dnl first found in the path. Checks that the version of pkg-config found
6969
dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
7070
dnl used since that's the first version where most current features of
7171
dnl pkg-config existed.
72+
dnl
73+
dnl If pkg-config is not found or older than specified, it will result
74+
dnl in an empty PKG_CONFIG variable. To avoid widespread issues with
75+
dnl scripts not checking it, ACTION-IF-NOT-FOUND defaults to aborting.
76+
dnl You can specify [PKG_CONFIG=false] as an action instead, which would
77+
dnl result in pkg-config tests failing, but no bogus error messages.
7278
AC_DEFUN([PKG_PROG_PKG_CONFIG],
7379
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
7480
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
@@ -89,6 +95,9 @@ if test -n "$PKG_CONFIG"; then
8995
AC_MSG_RESULT([no])
9096
PKG_CONFIG=""
9197
fi
98+
fi
99+
if test -z "$PKG_CONFIG"; then
100+
m4_default([$2], [AC_MSG_ERROR([pkg-config not found])])
92101
fi[]dnl
93102
])dnl PKG_PROG_PKG_CONFIG
94103

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_PREREQ([2.69])
2-
AC_INIT([make-initrd],[2.49.0],[[email protected]])
2+
AC_INIT([make-initrd],[2.50.0],[[email protected]])
33
AC_CONFIG_HEADERS([config.h])
44

55
AC_PREFIX_DEFAULT([/usr])

0 commit comments

Comments
 (0)