Package Details: system76-firmware-daemon 1.0.21-1

Git Clone URL: https://aur.archlinux.org/system76-firmware-daemon.git (read-only, click to copy)
Package Base: system76-firmware-daemon
Description: System76 Firmware Daemon provides a daemon for installing firmware updates.
Upstream URL: https://github.com/pop-os/system76-firmware
Licenses: GPL3
Conflicts: system76-driver<=17.10.32
Submitter: ebobby
Maintainer: electrickite
Last Packager: electrickite
Votes: 9
Popularity: 0.91
First Submitted: 2018-07-05 23:46
Last Updated: 2020-12-31 16:24

Latest Comments

1 2 3 Next › Last »

yochananmarqos commented on 2020-12-13 00:08

@dreieck. Please see my comment here.

dreieck commented on 2020-12-12 23:34

Your PKGBUILD downloads stuff in build().

This must not happen. No internet connection must be assumed in build() and package().

Please make sure that everything needed to build the software is downloaded in the source-array, if that is not possible use the prepare()-function and download stuff there. (source-array has the advantage that user's makepkg.conf-settings are honoured.)

==> Starting build()...
[...]
 Downloading    Blocking waiting for file lock on package cache
  Downloaded form_urlencoded v1.0.0
  Downloaded rustc-demangle v0.1.18
  Downloaded cc v1.0.62
  Downloaded sha2 v0.9.2
  Downloaded hashbrown v0.9.1
  Downloaded serde v1.0.117
[ downloading lots of stuff ]
 Downloading 2 crates, remaining bytes: 901.4 KB                                                                                                                                                                                           
[...]

Thanks for maintaining!

AHoneybun commented on 2020-11-03 19:49

I would recommend updating the PKGBUILD file like this:

Maintainer: Corey Hinshaw <corey(at)electrickite(dot)org>

pkgname=system76-firmware-daemon _pkgname=system76-firmware pkgver=1.0.19 pkgrel=1 pkgdesc='System76 Firmware Daemon provides a daemon for installing firmware updates.' arch=('x86_64') url='https://github.com/pop-os/system76-firmware' license=('GPL3') install="${pkgname}.install" depends=( 'ca-certificates' 'dbus' 'dfu-programmer' 'efibootmgr' 'openssl' 'systemd' 'xz' ) makedepends=('rust') conflicts=('system76-driver<=17.10.32') source=("https://github.com/pop-os/${_pkgname}/archive/${pkgver}.tar.gz" "${pkgname}.install") sha256sums=('123fbe5ea5cfb114be8c099845e8a2746a6eeb0ab813cc93df19353db4a24087' 'bee86280bc6762aa773ef17441126df336abb3f4ca2163caa4df6201b6a2d708')

build() { cd ${srcdir}/${_pkgname}-${pkgver} make prefix=/usr DESTDIR="${pkgdir}" }

package() { cd ${srcdir}/${_pkgname}-${pkgver} make prefix=/usr DESTDIR="${pkgdir}" install }

This updates the package to 1.0.19 from 1.0.17-1 and adds efibootmgr as a depends since it is needed to apply the firmware update on the next boot.

electrickite commented on 2020-08-18 00:58

@t_a Thanks for the tip: 1.0.13-2 adds the CLI tool to the package.

phelucko commented on 2020-08-16 06:27

@moll, you are right. I was only checking the errors in journalctl. The complete log showed that it was caused by the missing EFI mount point. Thank you for your help!

moll commented on 2020-08-15 10:25

@phelucko: Doesn't the firmware-daemon print something to the general log visible via journalctl?

phelucko commented on 2020-08-15 04:27

I am running 1.0.13-1. The system76-firmware-daemon service could not be started. I am getting the error Failed to start System76 Firmware Daemon. in journalctl. The status of system76-firmware-daemon showed:

system76-firmware-daemon.service: Scheduled restart job, restart counter is at 5.
Stopped System76 Firmware Daemon.
system76-firmware-daemon.service: Start request repeated too quickly.
system76-firmware-daemon.service: Failed with result 'exit-code'.
Failed to start System76 Firmware Daemon.

t_a commented on 2020-08-06 20:15

This package seems to create the system76-firmware-cli executable and puts it in the following location:

system76-firmware-daemon/src/system76-firmware-1.0.13/target/release/system76-firmware-cli

But shouldn't this package put that executable somewhere in the PATH like /usr/bin? The system76-firmware-daemon-git AUR package puts it in /usr/bin.

nthorderindex commented on 2020-06-04 21:05

I am trying to update from 1.0.11-1 to 1.0.12-1 but am encountering what seems to be a permission error:

error: failed to get `dbus` as a dependency of package `system76-firmware-daemon v0.1.0 (/tmp/system76-firmware-daemon-3001516397514285914/system76-firmware-daemon/src/system76-firmware-1.0.12/daemon)`

Caused by:
  failed to create directory `/root/.cargo/registry/index/github.com-1ecc6299db9ec823`

Caused by:
  Permission denied (os error 13)
error: failed to get `dbus` as a dependency of package `system76-firmware-daemon v0.1.0 (/tmp/system76-firmware-daemon-3001516397514285914/system76-firmware-daemon/src/system76-firmware-1.0.12/daemon)`

Caused by:
  failed to create directory `/root/.cargo/registry/index/github.com-1ecc6299db9ec823`

Caused by:
  Permission denied (os error 13)
error: failed to get `dbus` as a dependency of package `system76-firmware-daemon v0.1.0 (/tmp/system76-firmware-daemon-3001516397514285914/system76-firmware-daemon/src/system76-firmware-1.0.12/daemon)`

Caused by:
  failed to create directory `/root/.cargo/registry/index/github.com-1ecc6299db9ec823`

Caused by:
  Permission denied (os error 13)
error: failed to get `dbus` as a dependency of package `system76-firmware-daemon v0.1.0 (/tmp/system76-firmware-daemon-3001516397514285914/system76-firmware-daemon/src/system76-firmware-1.0.12/daemon)`

Caused by:
  failed to create directory `/root/.cargo/registry/index/github.com-1ecc6299db9ec823`

Caused by:
  Permission denied (os error 13)
make: *** [Makefile:48: target/release/system76-firmware-cli] Error 101
make: *** Waiting for unfinished jobs....
make: *** [Makefile:48: target/release/system76-firmware-daemon] Error 101
==> ERROR: A failure occurred in build().

Not sure if this is something wrong on my end that I can resolve, or an issue with the package.

EDIT: this was caused by a recent change in behaviour to the AUR helper I use, aura. I was able to solve it by running aura with sudo -E aura rather than sudo aura. Explanation in the aura changelog here: https://github.com/fosskers/aura/blob/master/aura/CHANGELOG.md#311-2020-06-02

electrickite commented on 2019-06-07 01:39

s_tec This package builds with no issues on my system without clang installed. What part of the package requires clang?