From 27c61b76baff2059d125ccea266b3bee9c04a7e0 Mon Sep 17 00:00:00 2001 From: Pragyan Poudyal Date: Tue, 1 Sep 2026 12:12:12 +0530 Subject: [PATCH] install: Create `bootupctl` as symlink instead of hardlink rpmlint fails with bootupd.x86_64: E: hardlink-across-partition /usr/libexec/bootupd /usr/bin/bootupctl To resolve, create a symlink Ref: https://src.fedoraproject.org/rpms/rust-bootupd/pull-request/28# Signed-off-by: Pragyan Poudyal --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 76d52e02..c47a8a2e 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,13 @@ endif .PHONY: all all: cargo build ${CARGO_ARGS} - ln -f target/${PROFILE}/bootupd target/${PROFILE}/bootupctl + ln -srf target/${PROFILE}/bootupd target/${PROFILE}/bootupctl .PHONY: install install: mkdir -p "${DESTDIR}$(PREFIX)/bin" "${DESTDIR}$(LIBEXECDIR)" install -D -t "${DESTDIR}$(LIBEXECDIR)" target/${PROFILE}/bootupd - ln -f ${DESTDIR}$(LIBEXECDIR)/bootupd ${DESTDIR}$(PREFIX)/bin/bootupctl + ln -srf ${DESTDIR}$(LIBEXECDIR)/bootupd ${DESTDIR}$(PREFIX)/bin/bootupctl .PHONY: install-grub-static install-grub-static: