Skip to content
New issue

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

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

Already on GitHub? Sign in 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
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant