You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting_access/non_standard.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ You can see the original blog post on how they used this solution in Deucalion [
131
131
132
132
## Via `squashfs` + cvmfs's `shrinkwrap` utility
133
133
134
-
CernVM-FS provides the Shrinkwrap utility, allowing users to create a portable snapshot of a CVMFS repository. This can be exported and distributed without the need of a CVMFS client or network access.
134
+
CernVM-FS provides the [Shrinkwrap utility](https://cvmfs.readthedocs.io/en/stable/cpt-shrinkwrap.html), allowing users to create a portable snapshot of a CVMFS repository. This can be exported and distributed without the need of a CVMFS client or network access.
135
135
136
136
To create an export of EESSI in user space, you will first need to create the config file `software.eessi.io.config`:
137
137
@@ -149,14 +149,16 @@ CVMFS_UID_MAP=uid.map
149
149
CVMFS_GID_MAP=gid.map
150
150
151
151
```
152
-
You will need to create the files `uid.map` and `gid.map` with the respective value you will use preceded by a `*`. For example, assuming UID 1000, set the two following files:
152
+
You will need to create the files `uid.map` and `gid.map` with the respective value you will use preceded by a `*`. You will probably want to use the UID and GID of the current user, so, to set the two files:
153
153
154
154
```bash
155
+
$ echo'*'$(id -u $USER)> uid.map
155
156
$ cat uid.map
156
-
*1000
157
+
*1001
157
158
159
+
$ echo'*'$(id -g $USER)> gid.map
158
160
$ cat gid.map
159
-
*1000
161
+
*1001
160
162
```
161
163
In addition, you need to create a spec file `software.eessi.io.spec` with the files you want to include and/or exclude in the shrinkwrap. Contents are:
162
164
@@ -195,13 +197,13 @@ entriesSrc|1|Number of file system entries processed in the source
195
197
196
198
....
197
199
198
-
# This takes a long time
200
+
# This takes a long time and space depending on how much you want to export
199
201
```
200
202
201
203
Once completed, the contents will be available in /tmp/cvmfs. You can create an squashfs image from it:
0 commit comments