This repository has been archived by the owner on Sep 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
add_hp_and_bootstrap.sh
executable file
·34 lines (24 loc) · 1.77 KB
/
add_hp_and_bootstrap.sh
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
#!/bin/sh
source ./config.sh
cp -r "$topdir/hp" "$topdir/modules/platform"
echo "" > "$topdir/modules/platform/modular-deps.txt"
for arch in $(cat arches.txt); do
modulearchroot="$topdir/modules/platform/$arch"
cp $modulearchroot/runtime-binary-packages-full.txt $modulearchroot/complete-runtime-binary-packages-full.txt
cp $modulearchroot/runtime-binary-packages-short.txt $modulearchroot/complete-runtime-binary-packages-short.txt
cp $modulearchroot/runtime-source-packages-full.txt $modulearchroot/complete-runtime-source-packages-full.txt
cp $modulearchroot/runtime-source-packages-short.txt $modulearchroot/complete-runtime-source-packages-short.txt
done
cp -r "$topdir/bootstrap" "$topdir/modules/bootstrap"
echo "" > "$topdir/modules/bootstrap/modular-deps.txt"
for arch in $(cat arches.txt); do
modulearchroot="$topdir/modules/bootstrap/$arch"
cp $modulearchroot/selfhosting-binary-packages-full.txt $modulearchroot/runtime-binary-packages-full.txt
cp $modulearchroot/selfhosting-binary-packages-short.txt $modulearchroot/runtime-binary-packages-short.txt
cp $modulearchroot/selfhosting-source-packages-full.txt $modulearchroot/runtime-source-packages-full.txt
cp $modulearchroot/selfhosting-source-packages-short.txt $modulearchroot/runtime-source-packages-short.txt
cp $modulearchroot/runtime-binary-packages-full.txt $modulearchroot/complete-runtime-binary-packages-full.txt
cp $modulearchroot/runtime-binary-packages-short.txt $modulearchroot/complete-runtime-binary-packages-short.txt
cp $modulearchroot/runtime-source-packages-full.txt $modulearchroot/complete-runtime-source-packages-full.txt
cp $modulearchroot/runtime-source-packages-short.txt $modulearchroot/complete-runtime-source-packages-short.txt
done