summaryrefslogtreecommitdiffstats
path: root/scripts/clone_stage4.README
blob: 6a8ddf5c94c7370d9c2ac90c2bf437ccc4911b16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Some hints for usage of clone_stage4:

Use clone_stage4 not on the build computer but on the computer which
provides httpd and nfsd, or, in other words: On the computer which server
the boot files. That's the reason why clone_stage4 rejects 'local' as IP.

To use stage4 a nfs export will be necessary.


On the build computer (or, in other words, the computer which compiles etc.):
- build your system to your taste.
- Then, to provide a standardized bind mount (/export/build) for synchronizing
  from elsewhere ("server IP") enter:
  ./mltk remote -n 

Then, on the service computer (the one where's booted from etc, see above)

- sync all of your build (IP is IP of build computer):
  ./mltk server IP -s

- or, if wanted, sync just some parts, for example:
  ./mltk server [IP] stage31 -e stage31 -s
  ./mltk server [IP] stage32 -e stage32 -s
  ./mltk server 132.230.8.238 vbox -e addons -s
  (etc.)

Well, then do the cloning work:
  ./scripts/clone_stage4 [IP] stage32 /path/to/your/nfs/share/stage4

To use the stage4 make sure your (base) config file contains a line
  SLX_STAGE4_NFS=[IP of service computer] :/path/to/your/nfs/share/stage4


At least now (20130912) it is necessary to enter
  systemctl (start, restart, reload) nfs-mount

... then login (or re-login), and the stage4s should be there in all their glory.