[Buildroot] [Bug 11191] New: xattr and check-package issue

bugzilla at busybox.net bugzilla at busybox.net
Wed Jul 25 15:24:32 UTC 2018


https://bugs.busybox.net/show_bug.cgi?id=11191

            Bug ID: 11191
           Summary: xattr and check-package issue
           Product: buildroot
           Version: 2018.02.2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: jpcartal at free.fr
                CC: buildroot at uclibc.org
  Target Milestone: ---

check-package warns about missing indent with xattr line in permissions of
packages, however adding indentation to those lines makes the check-package
script happy but then corresponding xattr entries are then silently ignored
when creating the image.

e.g., this entry will make check-package issue a warning :

...
define TEST_PERMISSIONS
        /usr/bin/test f 0755 user0 users - - - - -
|xattr cap_kill+eip
|xattr cap_sys_nice+eip
|xattr cap_sys_time+eip

...

package/test/test.mk:618: expected indent with tabs

However changing it to

define TEST_PERMISSIONS
        /usr/bin/test f 0755 user0 users - - - - -
\t|xattr cap_kill+eip
\t|xattr cap_sys_nice+eip
\t|xattr cap_sys_time+eip

...

Will make check-package happy but xattr attributes will not be taken into
account without any error message.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list