Merge "dbus-cynara: Avoid dependency loop"
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 5 Apr 2018 16:03:35 +0000 (16:03 +0000)
committerGerrit Code Review <gerrit@automotivelinux.org>
Thu, 5 Apr 2018 16:03:35 +0000 (16:03 +0000)
12 files changed:
meta-agl-bsp/conf/layer.conf
meta-agl-bsp/wic/systemd-intel-corei7-64-bootdisk.wks
meta-agl-bsp/wic/systemd-joule-bootdisk.wks
meta-agl-distro/conf/layer.conf
meta-agl/conf/layer.conf
meta-app-framework/conf/layer.conf
meta-app-framework/recipes-core/systemd-sync/systemd-agl-sync_1.0.bb
meta-ivi-common/conf/layer.conf
meta-netboot/conf/layer.conf
meta-security/conf/layer.conf
scripts/mkabl-agl.sh
scripts/mkefi-agl.sh

index 031c4f2..7c996ca 100644 (file)
@@ -21,4 +21,4 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "aglbsp"
 BBFILE_PATTERN_aglbsp = "^${LAYERDIR}/"
-BBFILE_PRIORITY_aglbsp = "10"
+BBFILE_PRIORITY_aglbsp = "60"
index 605d622..5639372 100644 (file)
@@ -3,9 +3,9 @@
 # can directly dd to boot media. The selected bootloader is systemd-boot
 # and we do not have swap
 
-part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024
+part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --use-uuid --label msdos --active --align 1024
 
-part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
+part / --source rootfs --fstype=ext4 --label platform --align 1024 --use-uuid
 
 # Modify the append line here as needed to suit the environment.
 #
index 87b006f..a318e23 100644 (file)
@@ -4,9 +4,9 @@
 # and we do not have swap.  We assume a Joule system and provide an
 # appropriate kernel command line.
 
-part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024
+part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --use-uuid --label msdos --active --align 1024
 
-part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
+part / --source rootfs --fstype=ext4 --label platform --align 1024 --use-uuid
 
 # Modify the append line here as needed to suit the environment
 bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=ttyS2,115200n8 console=tty0 video=efifb maxcpus=4 noxsave reboot=efi kmemleak=off"
index 7452751..9810f4a 100644 (file)
@@ -7,4 +7,4 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
 
 BBFILE_COLLECTIONS += "agl-distro"
 BBFILE_PATTERN_agl-distro = "^${LAYERDIR}/"
-BBFILE_PRIORITY_agl-distro = "8"
+BBFILE_PRIORITY_agl-distro = "70"
index 4943147..dd0784a 100644 (file)
@@ -7,4 +7,4 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
 
 BBFILE_COLLECTIONS += "agl"
 BBFILE_PATTERN_agl = "^${LAYERDIR}/"
-BBFILE_PRIORITY_agl = "7"
+BBFILE_PRIORITY_agl = "70"
index f74ebd6..97ca552 100644 (file)
@@ -7,5 +7,5 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
 
 BBFILE_COLLECTIONS += "app-framework"
 BBFILE_PATTERN_app-framework = "^${LAYERDIR}/"
-BBFILE_PRIORITY_app-framework = "7"
+BBFILE_PRIORITY_app-framework = "70"
 
index a8832e3..9d77d31 100644 (file)
@@ -4,6 +4,7 @@ Systemd synchronization script \
 reload daemon at the first boot. \
 "
 LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
 
 #This script should be the last to be execute at the first boot
 POST_INSTALL_LEVEL = "90"
index e19cacc..4251723 100644 (file)
@@ -7,4 +7,4 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
 
 BBFILE_COLLECTIONS += "ivi-common"
 BBFILE_PATTERN_ivi-common = "^${LAYERDIR}/"
-BBFILE_PRIORITY_ivi-common = "7"
+BBFILE_PRIORITY_ivi-common = "70"
index 324f1f1..7ee6f6f 100644 (file)
@@ -10,4 +10,4 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
 
 BBFILE_COLLECTIONS += "meta-netboot"
 BBFILE_PATTERN_meta-netboot = "^${LAYERDIR}/"
-BBFILE_PRIORITY_meta-netboot = "20"
+BBFILE_PRIORITY_meta-netboot = "60"
index c051e58..db6be54 100644 (file)
@@ -9,4 +9,4 @@ BBFILES := "${BBFILES} \
 # Must prioritize our rpm recipe over the default ones.
 BBFILE_COLLECTIONS += "security-smack"
 BBFILE_PATTERN_security-smack := "^${LAYERDIR}/"
-BBFILE_PRIORITY_security-smack = "8"
+BBFILE_PRIORITY_security-smack = "60"
index 8483d23..611c08f 100755 (executable)
@@ -375,6 +375,7 @@ ROOTFS_DISKID=$(fdisk -l "$DEVICE" | grep -e "Disk identifier" | sed -n 's/^.*Di
 if [ $ROOTFS_DISKID = "" ]; then
     die "Failed to read DISKID"
 fi
+BOOTFS_PARTUUID="$ROOTFS_DISKID-01"
 ROOTFS_PARTUUID="$ROOTFS_DISKID-02"
 debug "PARTUUID for ROOTFS is $ROOTFS_PARTUUID"
 
@@ -476,6 +477,8 @@ fi
 
 debug "removing any swap entry in /etc/fstab"
 sed --in-place '/swap/d' $ROOTFS_MNT/etc/fstab 
+debug "fixing PARTUUID for /boot"
+sed --in-place -e "s#PARTUUID=[0-9a-z-]\+\t/boot#${BOOTFS_PARTUUID}\t/boot#" $ROOTFS_MNT/etc/fstab
 
 printf "flushing data on removable device. May take a while ... "
 sync --file-system $ROOTFS_MNT
index 14ade36..48a0af4 100755 (executable)
@@ -352,6 +352,7 @@ ROOTFS_DISKID=$(fdisk -l "$DEVICE" | grep -e "Disk identifier" | sed -n 's/^.*Di
 if [ $ROOTFS_DISKID = "" ]; then
     die "Failed to read DISKID"
 fi
+BOOTFS_PARTUUID="$ROOTFS_DISKID-01"
 ROOTFS_PARTUUID="$ROOTFS_DISKID-02"
 debug "PARTUUID for ROOTFS is $ROOTFS_PARTUUID"
 
@@ -500,6 +501,8 @@ else
 fi
 debug "removing any swap entry in /etc/fstab"
 sed --in-place '/swap/d' $ROOTFS_MNT/etc/fstab 
+debug "fixing PARTUUID for /boot"
+sed --in-place -e "s#PARTUUID=[0-9a-z-]\+\t/boot#${BOOTFS_PARTUUID}\t/boot#" $ROOTFS_MNT/etc/fstab
 
 printf "flushing data on removable device. May take a while ... "
 sync --file-system $ROOTFS_MNT