Megjelent a FWUPD 1.7.2

kami911 képe

Megjelent a FWUPD 1.7.2, amely még több hardver támogatásával segíti a Linux operációs rendszert használó felhasználókat a firmware frissítésekhez.

A FWUPD és a Linux Vendor Firmware Service (LVFS) továbbra egyre több hardver támogatja a firmware frissítéseket Linuxon a rendszer/alaplap UEFI-től kezdve a lemezmeghajtókon át a különböző perifériákig. Az LVFS jelenleg havonta nagyjából kétmillió firmware letöltést szolgál ki.

Az FWUPD 1.7.2 támogatja az exportált MTD blokkeszközök kezelését, a fordítási paraméterek módosításával a telepítés méretét nagyjából 300 kilobyte-tal csökkenti, a FWUPD démon indítását hozzávetőlegesen 40%-kal gyorsítja néhány munka elhalasztásával, és számos javítást tartalmaz. A javítások egy lehetséges DFU összeomlástól kezdve a DLI letöltési problémákon át egyéb eszközspecifikus javításokig terjednek.

Az új verzióval kapcsolatos további információk és letöltés a GitHub webhelyen.

Hozzászólások

kimarite képe

recompiling without UEFI support.

Hogyan kéne kikapcsolni az UEFI támogatást a forgatásnál? Nem megy. Késő van talán...

Kimenet:

Run-time dependency efiboot found: NO (tried pkgconfig and cmake)

meson.build:404:2: ERROR: Dependency "efiboot" not found, tried pkgconfig and cmake

A full log can be found at /home/debkim/Asztal/fwupd-1.7.2/build/meson-logs/meson-log.txt

A napló vége:

Checking for function "pwrite" : YES
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'tss2-esys' with pkg-config executable '/usr/bin/pkg-config'
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config --modversion tss2-esys` -> 0
3.0.3
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config --cflags tss2-esys` -> 0
-I/usr/include/tss2
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config tss2-esys --libs` -> 0
-L/usr/lib/x86_64-linux-gnu -ltss2-esys
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config tss2-esys --libs` -> 0
-ltss2-esys
None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
Run-time dependency tss2-esys found: YES 3.0.3
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'efiboot' with pkg-config executable '/usr/bin/pkg-config'
PKG_CONFIG_PATH:
Called `/usr/bin/pkg-config --modversion efiboot` -> 1

CMake binary for MachineChoice.HOST is not cached
None of 'CMAKE' are defined in the environment, not changing global flags.
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Found CMake: /usr/bin/cmake (3.18.4)
None of 'CMAKE_PREFIX_PATH' are defined in the environment, not changing global flags.
Extracting basic cmake information
Try CMake generator: auto
Calling CMake (['/usr/bin/cmake']) in /home/debkim/Asztal/fwupd-1.7.2/build/meson-private/cmake_efiboot with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-DCMAKE_TOOLCHAIN_FILE=/home/debkim/Asztal/fwupd-1.7.2/build/meson-private/cmake_efiboot/CMakeMesonToolchainFile.cmake"
  - "."
  -- Module search paths:    ['/', '/opt', '/usr', '/usr/local']
  -- CMake root:             /usr/share/cmake-3.18
  -- CMake architectures:    ['i386-linux-gnu', 'x86_64-linux-gnu']
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 'lib/i386-linux-gnu', 'lib/x86_64-linux-gnu']
Preliminary CMake check failed. Aborting.
Run-time dependency efiboot found: NO (tried pkgconfig and cmake)

meson.build:404:2: ERROR: Dependency "efiboot" not found, tried pkgconfig and cmake

A 404-es sortól:

if build_standalone and get_option('plugin_uefi_capsule')
  efiboot = dependency('efiboot')

  efi_app_location = join_paths(libexecdir, 'fwupd', 'efi')
  conf.set_quoted('EFI_APP_LOCATION', efi_app_location)

  if host_cpu == 'x86'
          EFI_MACHINE_TYPE_NAME = 'ia32'
  elif host_cpu == 'x86_64'
          EFI_MACHINE_TYPE_NAME = 'x64'
  elif host_cpu == 'arm'
          EFI_MACHINE_TYPE_NAME = 'arm'
  elif host_cpu == 'aarch64'
          EFI_MACHINE_TYPE_NAME = 'aa64'
  else
          EFI_MACHINE_TYPE_NAME = ''
  endif
  conf.set_quoted('EFI_MACHINE_TYPE_NAME', EFI_MACHINE_TYPE_NAME)

  if get_option('efi_binary')
    efi_binary = dependency ('fwupd-efi', fallback: ['fwupd-efi', 'fwupd_efi_dep'])
  endif

  if get_option('plugin_uefi_capsule_splash')
    r = run_command([python3, 'po/test-deps'])
    if r.returncode() != 0
      error(r.stdout())
    endif
  endif
endif

Idézet: https://github.com/fwupd/fwupd/wiki/PluginFlag:legacy-bios

WARNING: Firmware can not be updated in legacy BIOS mode

This warning can be ignored if UEFI firmware updates are not desired. It can be disabled by adding

DisabledPlugins=test;invalid;uefi

to /etc/fwupd/daemon.conf or by recompiling without UEFI support.

A Meson súgó ebben nem segít:

meson build -h
usage: meson setup [-h] [--prefix PREFIX] [--bindir BINDIR] [--datadir DATADIR] [--includedir INCLUDEDIR] [--infodir INFODIR]
                   [--libdir LIBDIR] [--libexecdir LIBEXECDIR] [--localedir LOCALEDIR] [--localstatedir LOCALSTATEDIR]
                   [--mandir MANDIR] [--sbindir SBINDIR] [--sharedstatedir SHAREDSTATEDIR] [--sysconfdir SYSCONFDIR]
                   [--auto-features {enabled,disabled,auto}] [--backend {ninja,vs,vs2010,vs2015,vs2017,vs2019,xcode}]
                   [--buildtype {plain,debug,debugoptimized,release,minsize,custom}] [--debug]
                   [--default-library {shared,static,both}] [--errorlogs] [--install-umask INSTALL_UMASK]
                   [--layout {mirror,flat}] [--optimization {0,g,1,2,3,s}] [--stdsplit] [--strip]
                   [--unity {on,off,subprojects}] [--unity-size UNITY_SIZE] [--warnlevel {0,1,2,3}] [--werror]
                   [--wrap-mode {default,nofallback,nodownload,forcefallback}] [--force-fallback-for FORCE_FALLBACK_FOR]
                   [--pkg-config-path PKG_CONFIG_PATH] [--build.pkg-config-path BUILD.PKG_CONFIG_PATH]
                   [--cmake-prefix-path CMAKE_PREFIX_PATH] [--build.cmake-prefix-path BUILD.CMAKE_PREFIX_PATH] [-D option]
                   [--native-file NATIVE_FILE] [--cross-file CROSS_FILE] [-v] [--fatal-meson-warnings] [--reconfigure]
                   [--wipe]
                   [builddir] [sourcedir]

positional arguments:
  builddir
  sourcedir

optional arguments:
  -h, --help                                                   show this help message and exit
  --prefix PREFIX                                              Installation prefix (default: /usr/local).
  --bindir BINDIR                                              Executable directory (default: bin).
  --datadir DATADIR                                            Data file directory (default: share).
  --includedir INCLUDEDIR                                      Header file directory (default: include).
  --infodir INFODIR                                            Info page directory (default: share/info).
  --libdir LIBDIR                                              Library directory (default: lib/x86_64-linux-gnu).
  --libexecdir LIBEXECDIR                                      Library executable directory (default: libexec).
  --localedir LOCALEDIR                                        Locale data directory (default: share/locale).
  --localstatedir LOCALSTATEDIR                                Localstate data directory (default: var).
  --mandir MANDIR                                              Manual page directory (default: share/man).
  --sbindir SBINDIR                                            System executable directory (default: sbin).
  --sharedstatedir SHAREDSTATEDIR                              Architecture-independent data directory (default: com).
  --sysconfdir SYSCONFDIR                                      Sysconf data directory (default: etc).
  --auto-features {enabled,disabled,auto}                      Override value of all 'auto' features (default: auto).
  --backend {ninja,vs,vs2010,vs2015,vs2017,vs2019,xcode}       Backend to use (default: ninja).
  --buildtype {plain,debug,debugoptimized,release,minsize,custom}
                                                               Build type to use (default: debug).
  --debug                                                      Debug
  --default-library {shared,static,both}                       Default library type (default: shared).
  --errorlogs                                                  Whether to print the logs from failing tests
  --install-umask INSTALL_UMASK                                Default umask to apply on permissions of installed files
                                                               (default: 022).
  --layout {mirror,flat}                                       Build directory layout (default: mirror).
  --optimization {0,g,1,2,3,s}                                 Optimization level (default: 0).
  --stdsplit                                                   Split stdout and stderr in test logs
  --strip                                                      Strip targets on install
  --unity {on,off,subprojects}                                 Unity build (default: off).
  --unity-size UNITY_SIZE                                      Unity block size (default: (2, None, 4)).
  --warnlevel {0,1,2,3}                                        Compiler warning level to use (default: 1).
  --werror                                                     Treat warnings as errors
  --wrap-mode {default,nofallback,nodownload,forcefallback}    Wrap mode (default: default).
  --force-fallback-for FORCE_FALLBACK_FOR                      Force fallback for those subprojects (default: []).
  --pkg-config-path PKG_CONFIG_PATH                            List of additional paths for pkg-config to search (default:
                                                               []). (just for host machine)
  --build.pkg-config-path BUILD.PKG_CONFIG_PATH                List of additional paths for pkg-config to search (default:
                                                               []). (just for build machine)
  --cmake-prefix-path CMAKE_PREFIX_PATH                        List of additional prefixes for cmake to search (default: []).
                                                               (just for host machine)
  --build.cmake-prefix-path BUILD.CMAKE_PREFIX_PATH            List of additional prefixes for cmake to search (default: []).
                                                               (just for build machine)
  -D option                                                    Set the value of an option, can be used several times to set
                                                               multiple options.
  --native-file NATIVE_FILE                                    File containing overrides for native compilation environment.
  --cross-file CROSS_FILE                                      File describing cross compilation environment.
  -v, --version                                                show program's version number and exit
  --fatal-meson-warnings                                       Make all Meson warnings fatal
  --reconfigure                                                Set options and reconfigure the project. Useful when new
                                                               options have been added to the project and the default value is
                                                               not working.
  --wipe                                                       Wipe build directory and reconfigure using previous command
                                                               line options. Useful when build directory got corrupted, or
                                                               when rebuilding with a newer version of meson.

Értékelés: 

0
Még nincs értékelve
kimarite képe

recompiling without UEFI support: meson_options.txt (OK)

#1 Változtatás kiemelve:

option('plugin_dell', type : 'boolean', value : false, description : 'enable Dell-specific support')
option('plugin_uefi_capsule', type : 'boolean', value : false, description : 'enable UEFI capsule support')

Jegyzet: https://mesonbuild.com/Commands.html

Értékelés: 

0
Még nincs értékelve
kami911 képe

Ez nem segít?

Ez nem segít?

DisabledPlugins=test;invalid;uefi

a /etc/fwupd/daemon.conf fájlba.

Értékelés: 

0
Még nincs értékelve