diff --git a/recipes-bsp/patch-u-boot-env/files/postinst b/recipes-bsp/patch-u-boot-env/files/postinst deleted file mode 100644 index 736d8415b..000000000 --- a/recipes-bsp/patch-u-boot-env/files/postinst +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -# Copyright (c) Siemens AG, 2021 -# -# Authors: -# Quirin Gylstorff -# -# SPDX-License-Identifier: MIT - -deb-systemd-helper enable patch-u-boot-env.service || true diff --git a/recipes-bsp/patch-u-boot-env/patch-u-boot-env_0.1.bb b/recipes-bsp/patch-u-boot-env/patch-u-boot-env_0.1.bb index 2953b7bb8..9888f2f8a 100644 --- a/recipes-bsp/patch-u-boot-env/patch-u-boot-env_0.1.bb +++ b/recipes-bsp/patch-u-boot-env/patch-u-boot-env_0.1.bb @@ -15,8 +15,7 @@ DEBIAN_DEPENDS = "libubootenv-tool, u-boot-${MACHINE}-config" DPKG_ARCH = "all" -SRC_URI += "file://postinst \ - file://patch-u-boot-env.config \ +SRC_URI += "file://patch-u-boot-env.config \ file://patch-u-boot-env.sh \ file://patch-u-boot-env.service" @@ -24,7 +23,4 @@ do_install () { install -v -d ${D}/usr/share/u-boot-env install -v -m 640 ${WORKDIR}/patch-u-boot-env.config ${D}/usr/share/u-boot-env/patch-u-boot-env.config install -v -m 755 ${WORKDIR}/patch-u-boot-env.sh ${D}/usr/share/u-boot-env/patch-u-boot-env.sh - - install -v -d ${D}/usr/lib/systemd/system - install -v -m 666 ${WORKDIR}/patch-u-boot-env.service ${D}/usr/lib/systemd/system/patch-u-boot-env.service }