Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build warnings on DTS #833 #167

Merged
merged 11 commits into from
Nov 15, 2024
Merged

Conversation

dancios
Copy link

@dancios dancios commented Sep 11, 2024

@dancios dancios self-assigned this Sep 11, 2024
@m-iwanicki
Copy link
Contributor

Build completes successfully without warnings. 2 comments to be addressed and this PR can be merged.

@macpijan macpijan mentioned this pull request Oct 1, 2024
@m-iwanicki m-iwanicki force-pushed the warning-buildpaths-missingroot branch 2 times, most recently from bfdaa16 to 51939b3 Compare October 22, 2024 15:01
@m-iwanicki
Copy link
Contributor

@PLangowski Minimal test on QEMU. It didn't work as QEMU can't be updated (yet).
Update started automatically.

Dasharo Tools Suite 2.0.0 DasharoToolsSuite ttyS0

DasharoToolsSuite login: root (automatic login)

Waiting for network connection ...
Network connection have been established!
Waiting for network connection ...
Network connection have been established!
Checking if board is Dasharo compatible.
Board vendor: Emulation is currently not supported
Gathering flash chip and chipset information...
Flash information: vendor="ST" name="M95M02"
Flash size: 0M
Firmware Update Mode detected; proceed with automatic update in 5 seconds
Updating in 5s:
5...
4...
3...
2...
1...
Waiting for system clock to be synced ...
Checking for the latest Dasharo update available...
Current Dasharo version: 0.2.0
Latest available Dasharo version:
ERROR Invalid version ''
Incorrect version format
Update cannot be performed
Starting bash session - please make sure you get logs from
/var/local/dts-err.log and /var/local/flashrom.log; then you can poweroff the platform

@m-iwanicki
Copy link
Contributor

m-iwanicki commented Oct 23, 2024

To test Firmware Update Mode with custom build

  1. Enter BIOS -> Dasharo System Features -> Dasharo Security Options -> Enter Firmware Update Mode
  2. Accept
  3. Press correct key when asked
  4. After iPXE initialising devices... ok finishes and you see iPXE 1.21.1+ (g83861) -- Open Source Network Boot Firmware message press CTRL+C once. After that enter iPXE Shell and boot custom DTS.

@artur-rs

@m-iwanicki m-iwanicki force-pushed the warning-buildpaths-missingroot branch 3 times, most recently from f41679c to 3cb85f3 Compare October 24, 2024 08:28
Daniel Mrzygłód and others added 11 commits November 14, 2024 10:10
WARNING: systemd-1_255.4-r0 do_install: Using /home/root as root
	user's home directory is not fully supported by systemd

Set ROOT_HOME to "/root" to avoid such warning.

Signed-off-by: Daniel Mrzygłód <[email protected]>
This patch add to recipe INHIBIT_PACKAGE_DEBUG_SPLIT="1"
this change force system not to build debug packages and do strip
of executables to remove TMPDIR from binary file.

Signed-off-by: Daniel Mrzygłód <[email protected]>
This patch add to recipe INHIBIT_PACKAGE_DEBUG_SPLIT="1"
this change force system not to build debug packages and do strip
of executables to remove TMPDIR from binary file.

Signed-off-by: Daniel Mrzygłód <[email protected]>
golang is adding path if GO_PATH is created and removing this
and adding -trimpath to build process should remove path inside binary

Signed-off-by: Daniel Mrzygłód <[email protected]>
remove CONFIG_INTEL_MENLOW & CONFIG_EFI_VARS are deprecated
add CONFIG_EFIVAR_FS=y

This patch enables new interface for depraceted sysfs one is compatible
with previous one.

Signed-off-by: Daniel Mrzygłód <[email protected]>
This patch fixes:
WARNING: wolfssl-5.7.0-r0 do_package_qa: QA Issue:
	File /usr/lib/libwolfssl.so.42.1.0 in package wolfssl
	contains reference to TMPDIR [buildpaths]

Signed-off-by: Daniel Mrzygłód <[email protected]>
WARNING: gcab-1.6-r0 do_package_qa: QA Issue: File /usr/src/debug/gcab/1.6/libgcab/gcab-enums.c in package gcab-src contains reference to TMPDIR [buildpaths]

Disable QA checkout for this package:
do_package_qa[noexec] = "1"

Signed-off-by: Daniel Mrzygłód <[email protected]>
@artur-rs
Copy link
Member

@PLangowski changes to be included in the v2.1.0 release

@artur-rs artur-rs merged commit 9441d61 into develop Nov 15, 2024
1 check passed
@artur-rs artur-rs deleted the warning-buildpaths-missingroot branch November 15, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants