From 1910fc244d50cc99569a5ab17b84ff405718d5c6 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sat, 2 Mar 2024 15:07:04 -0500 Subject: [PATCH] Fix indentation --- recipes-core/base-files/base-files_%.bbappend | 2 + .../images/include/image-hvmpd-common.inc | 44 +++++++++---------- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/recipes-core/base-files/base-files_%.bbappend b/recipes-core/base-files/base-files_%.bbappend index bae34c0..6580860 100644 --- a/recipes-core/base-files/base-files_%.bbappend +++ b/recipes-core/base-files/base-files_%.bbappend @@ -20,10 +20,12 @@ do_install:append () { echo "# Manually added entries for HV MPD server project:" >> \ ${D}${sysconfdir}/fstab + if [ x"${BOOT_PART_ID}" != x"" ]; then echo "${ROOT_PARENT_DEV}${ROOT_PART_PREFIX}${BOOT_PART_ID} /boot auto defaults 0 0" >> \ ${D}${sysconfdir}/fstab fi + if [ x"${DATA_PART_ID}" != x"" ]; then echo "${ROOT_PARENT_DEV}${ROOT_PART_PREFIX}${DATA_PART_ID} /mnt/data auto defaults 0 0" >> \ ${D}${sysconfdir}/fstab diff --git a/recipes-core/images/include/image-hvmpd-common.inc b/recipes-core/images/include/image-hvmpd-common.inc index 0e901ef..e685439 100644 --- a/recipes-core/images/include/image-hvmpd-common.inc +++ b/recipes-core/images/include/image-hvmpd-common.inc @@ -6,25 +6,25 @@ IMAGE_FEATURES += "ssh-server-openssh" # Common features/components: IMAGE_INSTALL:append = " \ - libgpiod-tools \ - parted \ - e2fsprogs \ - nano \ - tzdata \ - util-linux \ - sudo \ - evtest \ - i2c-tools \ - ethtool \ + libgpiod-tools \ + parted \ + e2fsprogs \ + nano \ + tzdata \ + util-linux \ + sudo \ + evtest \ + i2c-tools \ + ethtool \ " # Music server specific features/components: IMAGE_INSTALL:append = " \ - alsa-utils \ - mpd \ - mpc \ - ympd \ - shairport-sync \ + alsa-utils \ + mpd \ + mpc \ + ympd \ + shairport-sync \ " # Needed by shairport-sync: @@ -33,22 +33,22 @@ IMAGE_INSTALL:append = " \ " IMAGE_INSTALL:append = " \ - libubootenv \ - u-boot-fw-utils \ - u-boot-default-env \ + libubootenv \ + u-boot-fw-utils \ + u-boot-default-env \ " # Add SWUpdate components IMAGE_INSTALL:append = " \ - swupdate \ - swupdate-usb \ - swupdate-progress \ + swupdate \ + swupdate-usb \ + swupdate-progress \ " # Remove swupdate-www (package with the website, that you can customize with # your own logo, template and style). IMAGE_INSTALL:remove = " \ - swupdate-www \ + swupdate-www \ " IMAGE_FSTYPES += "tar.gz" -- 2.20.1