UBUNTU: SAUCE: Makefile: replace rsync with tar
rsync has been removed from the i386 archives starting with lunar, causing build errors when generating kernel packages for this architecture. Replace rsync with tar for now, until we decide to drop i386 completely. Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
bfc84f468c
commit
5ddf9aec34
@@ -1281,8 +1281,9 @@ export INSTALL_HDR_PATH = $(objtree)/usr
|
||||
quiet_cmd_headers_install = INSTALL $(INSTALL_HDR_PATH)/include
|
||||
cmd_headers_install = \
|
||||
mkdir -p $(INSTALL_HDR_PATH); \
|
||||
rsync -mrl --include='*/' --include='*\.h' --exclude='*' \
|
||||
usr/include $(INSTALL_HDR_PATH)
|
||||
find usr/include -type f -name '*.h' -print0 | \
|
||||
tar -czf - --null --no-recursion --no-wildcards-match-slash -T- | \
|
||||
tar -xzf - --strip-components=1 -C $(INSTALL_HDR_PATH)
|
||||
|
||||
PHONY += headers_install
|
||||
headers_install: headers
|
||||
|
||||
Reference in New Issue
Block a user