diff --git a/skiboot-6.6.2-ffspart.patch b/skiboot-6.6.2-ffspart.patch new file mode 100644 index 0000000..c39282b --- /dev/null +++ b/skiboot-6.6.2-ffspart.patch @@ -0,0 +1,25 @@ +commit 6278c6df4ff2123725efc10e5e6ea48d02fda55a +Author: Dan Horák +Date: Mon Aug 10 12:59:04 2020 +0200 + + external/ffspart: define $(sbindir) for Makefile + + Right now the $(sbindir) variable isn't defined, so the binary gets installed + directly into $(DESTDIR). + + Signed-off-by: Dan Horák + +diff --git a/external/ffspart/rules.mk b/external/ffspart/rules.mk +index 40972c688..e006dc5b7 100644 +--- a/external/ffspart/rules.mk ++++ b/external/ffspart/rules.mk +@@ -10,6 +10,9 @@ LIBFLASH_SRC := $(addprefix libflash/,$(LIBFLASH_FILES)) + OBJS += $(LIBFLASH_OBJS) + OBJS += common-arch_flash.o + ++prefix = /usr/local/ ++sbindir = $(prefix)/sbin ++ + CC = $(CROSS_COMPILE)gcc + + FFSPART_VERSION ?= $(shell ./make_version.sh $(EXE))