generate_rootstrap: Change rs_resource path installed by hal-rootstrap-[profile] 88/314088/1
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 5 Jul 2024 04:47:17 +0000 (13:47 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 5 Jul 2024 04:49:04 +0000 (13:49 +0900)
hal-rootstrap-[profile] will install the rs_resource files into
/tmp/rs_resource path and then hal-rootstrap.git will get the xml of
package information under /tmp/rs_resource/ directory.

Change-Id: I7d83b9abc7c987cfa141bce71cbb18a9b9c1c6b7
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
generate_rootstrap.sh

index f4a1441d9a66abe84c7f659889296f7251997df3..8262fbcf8006dc6349054019b91d30c483684fd6 100755 (executable)
@@ -19,7 +19,7 @@ function generate_rootstrap_ix86 {
                return $?
        fi
 
-       ./make_rootstrap.sh -C rs-config ./rs_resource --emulator -A i686
+       ./make_rootstrap.sh -C rs-config /tmp/rs_resource --emulator -A i686
        RET=$?
        if [[ ${RET} -ne 0 ]]; then
                echo "Failed to create rootstrap."
@@ -35,7 +35,7 @@ function generate_rootstrap_x86_64 {
                return $?
        fi
 
-       ./make_rootstrap_64.sh -C rs-config ./rs_resource --emulator -A x86_64
+       ./make_rootstrap_64.sh -C rs-config /tmp/rs_resource --emulator -A x86_64
        RET=$?
        if [[ ${RET} -ne 0 ]]; then
                echo "Failed to create rootstrap."
@@ -51,7 +51,7 @@ function generate_rootstrap_arm {
                return $?
        fi
 
-       ./make_rootstrap.sh -C rs-config ./rs_resource --target -A arm
+       ./make_rootstrap.sh -C rs-config /tmp/rs_resource --target -A arm
        RET=$?
        if [[ ${RET} -ne 0 ]]; then
                echo "Failed to create rootstrap."
@@ -67,7 +67,7 @@ function generate_rootstrap_aarch64 {
                return $?
        fi
 
-       ./make_rootstrap_64.sh -C rs-config ./rs_resource --target -A aarch64
+       ./make_rootstrap_64.sh -C rs-config /tmp/rs_resource --target -A aarch64
        RET=$?
        if [[ ${RET} -ne 0 ]]; then
                echo "Failed to create rootstrap."
@@ -83,7 +83,7 @@ function generate_rootstrap_riscv64 {
                return $?
        fi
 
-       ./make_rootstrap_64.sh -C rs-config ./rs_resource --target -A riscv64
+       ./make_rootstrap_64.sh -C rs-config /tmp/rs_resource --target -A riscv64
        RET=$?
        if [[ ${RET} -ne 0 ]]; then
                echo "Failed to create rootstrap."