I'm trying to modify a custom ISO I made. I want to edit
/opt/drbl/sbin/ocs-sr, modify
and change:
PARTCLONE_RESTORE_OPT_INIT=""
to:
PARTCLONE_RESTORE_OPT_INIT="-C"
So that it will restore to smaller disks than originally created on. However, I have had a lot of trouble finding a way to edit the filesystem.squashfs file. Is there a better way to do this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So far there is no better way you can do. The best way to make it is to mount the filesystem.squashfs, copy the contents to another working, writeable dir, modify it, then use squashfs tools to make the modified dir as another filesystem.squashfs.
What the problem did you encounter?
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to modify a custom ISO I made. I want to edit
/opt/drbl/sbin/ocs-sr, modify
and change:
PARTCLONE_RESTORE_OPT_INIT=""
to:
PARTCLONE_RESTORE_OPT_INIT="-C"
So that it will restore to smaller disks than originally created on. However, I have had a lot of trouble finding a way to edit the filesystem.squashfs file. Is there a better way to do this?
So far there is no better way you can do. The best way to make it is to mount the filesystem.squashfs, copy the contents to another working, writeable dir, modify it, then use squashfs tools to make the modified dir as another filesystem.squashfs.
What the problem did you encounter?
Steven.