From 2c1fe700e2b9f5ca12611516386c5fdd2fbe780a Mon Sep 17 00:00:00 2001 From: Edward Li Date: Fri, 9 Dec 2022 23:44:47 -0500 Subject: [PATCH 1/2] Fix `make accessrights` for Fedora --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 7439c0dcf..5452842cc 100644 --- a/Makefile +++ b/Makefile @@ -267,6 +267,10 @@ ifneq ($(wildcard /etc/arch-release),) #If user is running ArchLinux, use specific command and group $(Q)$(SUDO) $(USERMOD) uucp $(USER) $(Q)$(GETENT_BL) >/dev/null && $(SUDO) $(USERMOD) bluetooth $(USER) || true +else ifneq ($(wildcard /etc/fedora-release),) +# If the user is running Fedora, use `usermod` with the dialout group + $(Q)$(SUDO) $(USERMOD) dialout $(USER) + $(Q)$(GETENT_BL) >/dev/null && $(SUDO) $(USERMOD) bluetooth $(USER) || true else $(Q)$(SUDO) $(ADDUSER) $(USER) dialout $(Q)$(GETENT_BL) >/dev/null && $(SUDO) $(ADDUSER) $(USER) bluetooth || true From 3927ae59210b9f7b8cfc0b0a1b155b8bae8e092d Mon Sep 17 00:00:00 2001 From: Edward Li Date: Fri, 9 Dec 2022 23:50:29 -0500 Subject: [PATCH 2/2] Update changelog for #1795 fix --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1dfcdd6d..72fcfa94e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac - Fixed `pm3` shell script now automatically detects WSL2 with USBIPD serial ports (@iceman1001) - Fixed `trace list -c` - annotation of CRC bytes now is colored or squared if no ansi colors is supported (@iceman1001) - Fixed `trace list -t mf` - now also finds UID if anticollision is partial captured, to be used for mfkey (@iceman1001) + - Fixed `make accessrights` on Fedora (@mooey5775) ## [Radium.4.15864][2022-10-29] - Changed `lf indala sim` - now accepts fc / cn (@iceman1001)