Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 1 | From 318a0e7dfaa0f5f233a20c0b347948c8004cf6af Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 20 Oct 2021 14:02:09 -0700 |
| 4 | Subject: [PATCH] bluepy: Fix username issue with tarballs |
| 5 | |
| 6 | Fixes |
| 7 | Cannot change ownership to uid 1000, gid 1000: Operation not permitted |
| 8 | |
| 9 | Upstream-Status: Submitted [https://github.com/IanHarvey/bluepy/pull/462] |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | bluepy/Makefile | 4 ++-- |
| 13 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 14 | |
| 15 | --- a/bluepy/Makefile |
| 16 | +++ b/bluepy/Makefile |
| 17 | @@ -30,13 +30,13 @@ bluepy-helper: $(LOCAL_SRCS) $(IMPORT_SR |
| 18 | $(CC) -L. $(CFLAGS) $(CPPFLAGS) -o $@ $(LOCAL_SRCS) $(IMPORT_SRCS) $(LDLIBS) |
| 19 | |
| 20 | $(IMPORT_SRCS): bluez-src.tgz |
| 21 | - tar xzf $< |
| 22 | + tar xzf $< --no-same-owner |
| 23 | touch $(IMPORT_SRCS) |
| 24 | |
| 25 | .PHONY: bluez-tarfile |
| 26 | |
| 27 | bluez-tarfile: |
| 28 | - (cd ..; tar czf bluepy/bluez-src.tgz $(BLUEZ_PATH)) |
| 29 | + (cd ..; tar czf bluepy/bluez-src.tgz $(BLUEZ_PATH) --no-same-owner) |
| 30 | |
| 31 | GET_SERVICES=get_services.py |
| 32 | |