Skip to content

Commit

Permalink
Merge pull request #167 from Dasharo/warning-buildpaths-missingroot
Browse files Browse the repository at this point in the history
 Fix build warnings on DTS #833
  • Loading branch information
artur-rs authored Nov 15, 2024
2 parents 02cc59f + a225b4e commit 9441d61
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 7 deletions.
1 change: 1 addition & 0 deletions meta-dts-distro/conf/distro/dts-distro.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ VIRTUAL-RUNTIME_syslog = ""
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit pulseaudio"
VIRTUAL-RUNTIME_vim = "vim"

ROOT_HOME = '/root'
ROOT_PASSWORD = "jlz9IbDJscvTcTjpDkk1xVoPZnxIm1K5"

WKS_FILES = "usb-stick-dts.wks.in"
Expand Down
5 changes: 1 addition & 4 deletions meta-dts-distro/recipes-bsp/coreboot-utils/intelp2m_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ inherit go

do_compile() {
export GOARCH="${TARGET_GOARCH}"
export GOPATH="${WORKDIR}/git/"

cd ${S}

oe_runmake
go build -trimpath -v -o intelp2m
}

do_install() {
Expand Down
2 changes: 2 additions & 0 deletions meta-dts-distro/recipes-bsp/coreboot-utils/nvramtool_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ EXTRA_OEMAKE = ' \
PREFIX="${prefix}" \
'

INHIBIT_PACKAGE_DEBUG_SPLIT = "1"

do_compile () {
oe_runmake -C util/nvramtool
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ inherit pkgconfig

S = "${WORKDIR}/git/util/smmstoretool"

INHIBIT_PACKAGE_DEBUG_SPLIT = "1"

EXTRA_OEMAKE = ' \
DESTDIR="${D}" \
PREFIX="${prefix}" \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
INSANE_SKIP:${PN} += "buildpaths"
4 changes: 4 additions & 0 deletions meta-dts-distro/recipes-core/base-files/base-files_%.bbappend
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
hostname = "DasharoToolsSuite"

do_install:append() {
echo 'efivarfs /sys/firmware/efi/efivars efivarfs ro,nosuid,nodev,noexec,nofail 0 0' >> ${D}${sysconfdir}/fstab
}
1 change: 1 addition & 0 deletions meta-dts-distro/recipes-gnome/gcab/gcab_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
insane_skip += "buildpaths"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CONFIG_EFI_VARS=y
CONFIG_EFIVAR_FS=y
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ CONFIG_INTEL_SOC_DTS_IOSF_CORE=y
CONFIG_INTEL_SOC_DTS_THERMAL=y
CONFIG_INTEL_PCH_THERMAL=y
CONFIG_INTEL_TCC_COOLING=y
CONFIG_INTEL_MENLOW=y
CONFIG_INTEL_SOC_PMIC=y
CONFIG_INTEL_SOC_PMIC_CHTWC=y
CONFIG_INTEL_SOC_PMIC_CHTDC_TI=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append = " \
file://acpi-bgrt.cfg \
file://dts.cfg \
file://enable-memconsole-coreboot.cfg \
file://efivars.cfg \
file://enable-memconsole-coreboot.cfg \
file://intel-mei.cfg \
file://intel-other.cfg \
file://intel-sound.cfg \
Expand Down

0 comments on commit 9441d61

Please sign in to comment.