@@ -31,12 +31,6 @@ SQUASHFS_MEMLIMIT ?= "${@int(get_free_mem() * 3/4)}"
SQUASHFS_CREATION_LIMITS = "-mem ${SQUASHFS_MEMLIMIT} -processors ${SQUASHFS_THREADS}"
python __anonymous() {
- # Set file timestamps for reproducible builds
- source_date_epoch = d.getVar('SOURCE_DATE_EPOCH')
- if source_date_epoch:
- args = " -fstime {time}".format(time=source_date_epoch)
- d.appendVar('SQUASHFS_CREATION_ARGS', args)
-
exclude_directories = d.getVar('SQUASHFS_EXCLUDE_DIRS').split()
if len(exclude_directories) == 0:
return
@@ -1,7 +1,7 @@
#
# CIP Core, generic profile
#
-# Copyright (c) Siemens AG, 2023
+# Copyright (c) Siemens AG, 2023-2024
#
# Authors:
# Quirin Gylstorff <quirin.gylstorff@siemens.com>
@@ -14,4 +14,8 @@ require cip-core-common.inc
PREFERRED_VERSION_swupdate ?= "2023.12%"
PREFERRED_VERSION_linux-cip ?= "6.1.%"
+PREFERRED_VERSION_linux-cip-native ?= "6.1.%"
+PREFERRED_VERSION_linux-cip-kbuildtarget ?= "6.1.%"
PREFERRED_VERSION_linux-cip-rt ?= "6.1.%"
+PREFERRED_VERSION_linux-cip-rt-native ?= "6.1.%"
+PREFERRED_VERSION_linux-cip-rt-kbuildtarget ?= "6.1.%"
@@ -1,7 +1,7 @@
#
# CIP Core, generic profile
#
-# Copyright (c) Siemens AG, 2021-2022
+# Copyright (c) Siemens AG, 2021-2024
#
# Authors:
# Jan Kiszka <jan.kiszka@siemens.com>
@@ -17,4 +17,8 @@ DISTRO_APT_PREFERENCES:append:swupdate = " conf/distro/preferences.swupdate-bull
PREFERRED_VERSION_swupdate ?= "2023.12%"
PREFERRED_VERSION_linux-cip ?= "5.10.%"
+PREFERRED_VERSION_linux-cip-native ?= "5.10.%"
+PREFERRED_VERSION_linux-cip-kbuildtarget ?= "5.10.%"
PREFERRED_VERSION_linux-cip-rt ?= "5.10.%"
+PREFERRED_VERSION_linux-cip-rt-native ?= "5.10.%"
+PREFERRED_VERSION_linux-cip-rt-kbuildtarget ?= "5.10.%"
@@ -1,7 +1,7 @@
#
# CIP Core, generic profile
#
-# Copyright (c) Siemens AG, 2019
+# Copyright (c) Siemens AG, 2019-2024
#
# Authors:
# Jan Kiszka <jan.kiszka@siemens.com>
@@ -14,4 +14,8 @@ require cip-core-common.inc
PREFERRED_VERSION_swupdate ?= "2021.11%"
PREFERRED_VERSION_linux-cip ?= "4.19.%"
+PREFERRED_VERSION_linux-cip-native ?= "4.19.%"
+PREFERRED_VERSION_linux-cip-kbuildtarget ?= "4.19.%"
PREFERRED_VERSION_linux-cip-rt ?= "4.19.%"
+PREFERRED_VERSION_linux-cip-rt-native ?= "4.19.%"
+PREFERRED_VERSION_linux-cip-rt-kbuildtarget ?= "4.19.%"
@@ -16,4 +16,8 @@ DISTRO_APT_SOURCES = "conf/distro/cip-debian-sid-snapshot.list"
HOST_DISTRO_APT_SOURCES = "${DISTRO_APT_SOURCES}"
PREFERRED_VERSION_linux-cip ?= "6.1.%"
+PREFERRED_VERSION_linux-cip-native ?= "6.1.%"
+PREFERRED_VERSION_linux-cip-kbuildtarget ?= "6.1.%"
PREFERRED_VERSION_linux-cip-rt ?= "6.1.%"
+PREFERRED_VERSION_linux-cip-rt-native ?= "6.1.%"
+PREFERRED_VERSION_linux-cip-rt-kbuildtarget ?= "6.1.%"
@@ -22,7 +22,7 @@ repos:
isar:
url: https://github.com/ilbers/isar.git
- commit: 9dc362cd7115074c0f60843e687ed89db5c9339a
+ commit: 3d863aad5e12c7bef382cb6fb3f1f5e18b236156
layers:
meta:
@@ -42,7 +42,7 @@ local_conf_header:
USER_root[password] = "root"
USER_root[flags] = "clear-text-password"
source_epoch: |
- SOURCE_DATE_EPOCH := "${@bb.process.run("git -C ${LAYERDIR_cip-core} log -1 --pretty=%ct | tr -d '\n'")[0]}"
+ SOURCE_DATE_EPOCH_FALLBACK := "${@bb.process.run("git -C ${LAYERDIR_cip-core} log -1 --pretty=%ct | tr -d '\n'")[0]}"
env:
DISTRO_APT_PREMIRRORS: ""
@@ -1,7 +1,7 @@
#
# CIP Core, generic profile
#
-# Copyright (c) Siemens AG, 2021
+# Copyright (c) Siemens AG, 2021-2024
#
# Authors:
# Jan Kiszka <jan.kiszka@siemens.com>
@@ -15,4 +15,8 @@ header:
local_conf_header:
kernel-version: |
PREFERRED_VERSION_linux-cip = "4.19.%"
+ PREFERRED_VERSION_linux-cip-native = "4.19.%"
+ PREFERRED_VERSION_linux-cip-kbuildtarget = "4.19.%"
PREFERRED_VERSION_linux-cip-rt = "4.19.%"
+ PREFERRED_VERSION_linux-cip-rt-native = "4.19.%"
+ PREFERRED_VERSION_linux-cip-rt-kbuildtarget = "4.19.%"
@@ -2,6 +2,7 @@
# CIP Core, generic profile
#
# Copyright (c) Toshiba corp., 2019
+# Copyright (c) Siemens AG, 2024
#
# Authors:
# Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>
@@ -15,4 +16,8 @@ header:
local_conf_header:
kernel-version: |
PREFERRED_VERSION_linux-cip = "4.4.%"
+ PREFERRED_VERSION_linux-cip-native = "4.4.%"
+ PREFERRED_VERSION_linux-cip-kbuildtarget = "4.4.%"
PREFERRED_VERSION_linux-cip-rt = "4.4.%"
+ PREFERRED_VERSION_linux-cip-rt-native = "4.4.%"
+ PREFERRED_VERSION_linux-cip-rt-kbuildtarget = "4.4.%"
@@ -1,7 +1,7 @@
#
# CIP Core, generic profile
#
-# Copyright (c) Siemens AG, 2021
+# Copyright (c) Siemens AG, 2021-2024
#
# Authors:
# Jan Kiszka <jan.kiszka@siemens.com>
@@ -15,4 +15,8 @@ header:
local_conf_header:
kernel-version: |
PREFERRED_VERSION_linux-cip = "5.10.%"
+ PREFERRED_VERSION_linux-cip-native = "5.10.%"
+ PREFERRED_VERSION_linux-cip-kbuildtarget = "5.10.%"
PREFERRED_VERSION_linux-cip-rt = "5.10.%"
+ PREFERRED_VERSION_linux-cip-rt-native = "5.10.%"
+ PREFERRED_VERSION_linux-cip-rt-kbuildtarget = "5.10.%"
@@ -1,7 +1,7 @@
#
# CIP Core, generic profile
#
-# Copyright (c) Siemens AG, 2023
+# Copyright (c) Siemens AG, 2023-2024
#
# Authors:
# Felix Moessbauer <felix.moessbauer@siemens.com>
@@ -15,4 +15,8 @@ header:
local_conf_header:
kernel-version: |
PREFERRED_VERSION_linux-cip = "6.1.%"
+ PREFERRED_VERSION_linux-cip-native = "6.1.%"
+ PREFERRED_VERSION_linux-cip-kbuildtarget = "6.1.%"
PREFERRED_VERSION_linux-cip-rt = "6.1.%"
+ PREFERRED_VERSION_linux-cip-rt-native = "6.1.%"
+ PREFERRED_VERSION_linux-cip-rt-kbuildtarget = "6.1.%"
@@ -14,6 +14,7 @@ inherit dpkg-raw
DPKG_ARCH = "all"
DEBIAN_MULTI_ARCH = "foreign"
PROVIDES += "secure-boot-secrets"
+DEBIAN_PROVIDES = "secure-boot-secrets"
SB_KEY ??= ""
SB_CERT ??= ""
@@ -31,6 +32,3 @@ do_install() {
install -m 0700 ${WORKDIR}/${SB_CERT} ${TARGET}/secure-boot.pem
}
-do_prepare_build:append() {
- echo "Provides: secure-boot-secrets" >> ${S}/debian/control
-}
@@ -15,6 +15,7 @@ FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/files:"
DPKG_ARCH = "all"
PROVIDES += "swupdate-certificates-key"
+DEBIAN_PROVIDES = "swupdate-certificates-key"
SWU_SIGN_KEY ??= ""
SWU_SIGN_SCRIPT ??= "sign-swu-cms"
@@ -35,6 +36,3 @@ do_install() {
install -m 0600 ${WORKDIR}/${SWU_SIGN_KEY} ${TARGET}/swupdate-sign.key
}
-do_prepare_build:append() {
- echo "Provides: swupdate-certificates-key" >> ${S}/debian/control
-}
@@ -16,6 +16,7 @@ FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/files:"
DPKG_ARCH = "all"
DEBIAN_MULTI_ARCH = "foreign"
PROVIDES += "swupdate-certificates"
+DEBIAN_PROVIDES = "swupdate-certificates"
SWU_SIGN_CERT ??= ""
@@ -30,6 +31,3 @@ do_install() {
install -m 0700 ${WORKDIR}/${SWU_SIGN_CERT} ${TARGET}/swupdate-sign.crt
}
-do_prepare_build:append() {
- echo "Provides: swupdate-certificates" >> ${S}/debian/control
-}