command: add new build flag '--internal'

New build flag '--internal' is to access internal package pool that
manages unpulbished packages in developing.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I4cf4cae1fc6a4196ab2b3cc907671fd9554bb1e2
This commit is contained in:
Dongjin Kim
2022-03-05 17:20:30 +09:00
parent 69629df04c
commit 4d22c3d055
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/sh
cat>/etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list<<__EOF
touch /etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list
cat>>/etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list<<__EOF
deb http://ppa.linuxfactory.or.kr @@DEFAULT_DISTRO@@ internal
__EOF

View File

@@ -39,6 +39,7 @@ for opt in "$@"; do
--no-live) opt_livesystem=false;;
--live) opt_livesystem=true;;
--compress) opt_compress=true;;
--internal) opt_internal=true;;
--keep-builddir)
opt_keep_builddir=true;;
esac
@@ -64,6 +65,7 @@ fi
[ "x${opt_livesystem}" = "xtrue" ] && LIVESYSTEM=true
[ "x${opt_compress}" = "xtrue" ] && COMPRESS=true
[ "x${opt_internal}" = "xtrue" ] && INTERNAL=true
[ "${RUN_MENU}" = "true" ] && do_menu
[ "x${ISOIMAGE}" = "xtrue" ] && LIVESYSTEM=true