Skip to content

Commit

Permalink
installer: change default destination to /lib/firmware/updates
Browse files Browse the repository at this point in the history
Kudos to Pierre-Louis for advertising this cool feature

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb authored and lgirdwood committed Apr 11, 2021
1 parent fa639cf commit 65ade5a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions installer/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,16 @@ GNUMAKEFLAGS = --no-print-directory
#####################################

# Default value
FW_DESTDIR ?= /lib/firmware/intel/
# We don't depend on any other target so:
# - it's possible to deploy a staging _subset_,
FW_DESTDIR ?= /lib/firmware/updates/intel/

# The rsync target does not depend on any other target so:
# - it's possible to deploy a staging _subset_, e.g.: only topologies
# only,...
# - sudo never builds by accident
rsync:
# The --mkpath option is too recent, dealing with both remote and local
# would be complicated and this is also a safety against typos.
# The destination directory must already exist
rsync -a --info=progress2 staging/sof* "${FW_DESTDIR}"
ifneq (${USER_DESTDIR},)
# TODO: add more user space binaries: sof-ctl, probes,...
Expand Down
4 changes: 2 additions & 2 deletions installer/sample-config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
# UNSIGNED_list :=
# SIGNED_list := apl tgl

# The default FW_DESTDIR is the local /lib/firmware/intel directory
# The default FW_DESTDIR is the local /lib/firmware/updates/intel directory
# _remote := test-system.local
# FW_DESTDIR := root@${_remote}:/lib/firmware/intel
# FW_DESTDIR := root@${_remote}:/lib/firmware/updates/intel
# USER_DESTDIR := ${_remote}:bin/

# Define this empty for a plain sof/ directory and no sof -> sof-v1.2.3
Expand Down

0 comments on commit 65ade5a

Please sign in to comment.