- Move lib to top dir and remove usr,

- Update mk_base_image to use urpmi-setup-dump.cgi,
- Now support rx3-base 1.1.2.
This commit is contained in:
2026-04-16 19:18:46 +02:00
parent 8839a9baf6
commit 9cce50b55f
4 changed files with 19 additions and 5 deletions

View File

@@ -116,7 +116,8 @@ function mbi_args_parse()
# Note the quotes around `$tmp_args': they are essential!
eval set -- "${tmp_args}"
while true ; do
while true
do
case "$1" in
# Options
@@ -246,7 +247,7 @@ function mbi_env_init()
echo_error "Making Builder..."
cmd_exec cp /etc/resolv.conf "${BUILDER_DIR}/etc/resolv.conf"
cmd_exec chroot "${BUILDER_DIR}" bash -c 'curl -L http://mirror.rx3.net/rx3/sbin/urpmi-setup-'${DISTRIB}' | bash'
cmd_exec chroot "${BUILDER_DIR}" bash -c 'curl -L http://mirror.rx3.net/rx3/cgi-bin/urpmi-setup-dump.cgi?'${DISTRIB}' | bash'
cmd_exec chroot "${BUILDER_DIR}" urpmi --force rx3-base
fi
fi
@@ -350,7 +351,6 @@ function mbi_base_install_post()
{
cmd_exec chroot ${ROOT_DIR} urpmi-setup --verbose --distrib "${DISTRIB}"
# cmd_exec chroot ${ROOT_DIR} bash -c 'curl -L http://mirror.rx3.net/rx3/sbin/urpmi-setup-'${DISTRIB}' | bash'
cmd_exec chroot ${ROOT_DIR} urpmi --force --auto-update