mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 14:56:43 +01:00
dracut: set DRACUT_FULL_VERSION to PV
RACUT_FULL_VERSION is conditional assigned in Makefile as below: DRACUT_FULL_VERSION ?= $(shell env GIT_CEILING_DIRECTORIES=$(CURDIR)/.. git describe --tags --always 2>/dev/null || :) When build from git shallow tarball, since tag info is not included, 956c087 is returned. This will make dracut version in dracut.pc different with build from git repo. Set DRACUT_FULL_VERSION to PV, to improve reproducibility for this recipe, and also fix the version mismatch warning Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
5baf4b2341
commit
bcaf917fa6
|
|
@ -35,7 +35,7 @@ EXTRA_OECONF = "--prefix=${prefix} \
|
|||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
||||
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,,systemd"
|
||||
|
||||
EXTRA_OEMAKE += 'libdir=${nonarch_libdir} LDLIBS="${LDLIBS}" enable_test=no'
|
||||
EXTRA_OEMAKE += 'libdir=${nonarch_libdir} LDLIBS="${LDLIBS}" enable_test=no DRACUT_FULL_VERSION=${PV}'
|
||||
|
||||
CFLAGS:append = " -fPIC"
|
||||
LDLIBS:append:libc-musl = " -lfts"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user