Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kuenishi/squashfs-builder
https://github.com/kuenishi/squashfs-builder
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kuenishi/squashfs-builder
- Owner: kuenishi
- License: gpl-2.0
- Created: 2020-05-06T01:47:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-06T04:46:25.000Z (over 4 years ago)
- Last Synced: 2024-10-29T16:22:24.045Z (15 days ago)
- Language: Dockerfile
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# squashfs-builder
Prerequisite: Docker
Build
```sh
$ make build
```Make an image
```sh
$ docker run -v `pwd`:/workdir mksquashfs mksquashfs ./COPYING ./Makefile ./test.img
```Show files in an image
```sh
$ docker run -v `pwd`:/workdir mksquashfs unsquashfs -llc test.img
Parallel unsquashfs: Using 2 processors
3 inodes (2 blocks) to write-rw-r--r-- root/root 18092 2020-05-06 01:50 squashfs-root/COPYING
-rw-r--r-- root/root 70 2020-05-06 01:52 squashfs-root/Makefile
-rw-r--r-- root/root 0 2020-05-06 04:41 squashfs-root/test/foo
```