Merge many depots


When you have many depot files, you can create a single big depot and install it instead of install one by one.

Let’s assume that you need install the following depots, and they are all located in the directory /tmp/install/depots:

autoconf-2.64-hppa-11.11.depot
bison-2.4.1-hppa-11.11.depot
gawk-3.1.7-hppa-11.11.depot
sed-4.2.1-hppa-11.11.depot
tcltk-8.5.7-hppa-11.11.depot
texinfo-4.13-hppa-11.11.depot
zip-3.0-hppa-11.11.depot

To create a single depot, run the follow commands:

cd /tmp/install/
for i in `ls depots/*.depot` ;do swcopy -s /tmp/install/$i \* @/tmp/install/big;done

Now, to install it, you can use:

swinstall -s /tmp/install/big

, , ,

  1. No comments yet.
(will not be published)
  1. No trackbacks yet.