Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

mksquashfs can read uid/gid/file type from fakeroot(1) database #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asheplyakov
Copy link
Contributor

With this patch I can easily pack chroots built in a fakeroot environment
without running mksquashfs under fakeroot. Instead I can use
-fakerootdb .fakedata to get ownership/permissions/device nodes right.

It's possible to convert fakeroot database into mksquashfs' pseudo files
definitions but using the fakeroot database directly is more efficient
(fakeroot uses device/inode number to identify the object) and requires
less code.

@asheplyakov asheplyakov force-pushed the mksquashfs-fakerootdb branch 2 times, most recently from d132b9b to d8ff9c8 Compare March 15, 2021 07:46
@asheplyakov asheplyakov force-pushed the mksquashfs-fakerootdb branch from d8ff9c8 to fb2443e Compare July 5, 2021 16:55
With this patch I can easily pack chroots built in a fakeroot environment
without running mksquashfs under fakeroot. Instead I can use
`-fakerootdb .fakedata` to get ownership/permissions/device nodes right.

It's possible to convert fakeroot database into mksquashfs' pseudo files
definitions but using the fakeroot database directly is more efficient
(fakeroot uses device/inode number to identify the object) and requires
less code.
@asheplyakov asheplyakov force-pushed the mksquashfs-fakerootdb branch from fb2443e to 10da591 Compare July 5, 2021 16:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant