meta-digi: remove os-release from base-files
Yocto 1.7 Dizzy added support for os-release file in a new recipe, so we need to remove it from our base-files bbappend in order to avoid conflicts between both packages. https://jira.digi.com/browse/DEL-1390 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
ab2a23f427
commit
e46757c866
|
|
@ -1,6 +0,0 @@
|
|||
NAME="##DISTRO_NAME##"
|
||||
VERSION="##DISTRO_VERSION##"
|
||||
ID=##DISTRO##
|
||||
ID_LIKE=yocto
|
||||
VERSION_ID="##DISTRO_VERSION##"
|
||||
PRETTY_NAME="##DISTRO_NAME## ##DISTRO_VERSION##"
|
||||
|
|
@ -3,18 +3,12 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI += " \
|
||||
file://os-release \
|
||||
file://sysctl.conf \
|
||||
"
|
||||
|
||||
SRC_URI_append_ccimx6 = " file://resize-ext4fs.sh"
|
||||
|
||||
do_install_append() {
|
||||
install -m 0644 ${WORKDIR}/os-release ${D}${sysconfdir}/
|
||||
sed -i -e 's,##DISTRO##,${DISTRO},g' \
|
||||
-e 's,##DISTRO_NAME##,${DISTRO_NAME},g' \
|
||||
-e 's,##DISTRO_VERSION##,${DISTRO_VERSION},g' \
|
||||
${D}${sysconfdir}/os-release
|
||||
install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ RDEPENDS_${PN} = "\
|
|||
init-ifupdown \
|
||||
modutils-initscripts \
|
||||
netbase \
|
||||
os-release \
|
||||
usbutils \
|
||||
${VIRTUAL-RUNTIME_dev_manager} \
|
||||
${VIRTUAL-RUNTIME_init_manager} \
|
||||
|
|
|
|||
Loading…
Reference in New Issue