| Summary: | host-e2fsprogs attempts to create udev rules.d on build host if not exists | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Christian Stewart <christian> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | hacky fix for e2fs progs writing to host system | ||
|
Description
Christian Stewart
2020-07-18 02:47:34 UTC
Seems like the /usr/lib/systemd/system path also leaks:
making install in scrub
MKDIR_P /usr/lib/udev/rules.d
iMKDIR_P /usr/lib/systemd/system
/bin/mkdir: cannot create directory '/usr/lib/systemd/system': Permission denied
Created attachment 8536 [details]
hacky fix for e2fs progs writing to host system
The attached patch disables e2fsprogs scrub utilities by removing them from the Makefile.in. This fixes the build on systems where the paths it tries to mkdir -p do not already exist. But, a better patch is probably needed for upstream. |