mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 01:48:42 +09:00
Fix to build for internal project with 'INTERNAL=true'
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I4b130880f09437ec547f479f8846c75976f75849
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
INTERNAL_APT=/etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list
|
||||
|
||||
if [ -f ${INTERNAL_APT} ]; then
|
||||
sed -i "/internal/d" ${INTERNAL_APT}
|
||||
fi
|
||||
|
||||
cat>>${INTERNAL_APT}<<__EOF
|
||||
deb http://ppa.linuxfactory.or.kr focal internal
|
||||
cat>/etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list<<__EOF
|
||||
deb http://ppa.linuxfactory.or.kr @@DEFAULT_DISTRO@@ internal
|
||||
__EOF
|
||||
|
||||
@@ -379,9 +379,8 @@ do_preinstall() {
|
||||
${fixup}
|
||||
done
|
||||
|
||||
if [ "x${INTERNAL}" = "x" ]; then
|
||||
rm -f ${rootfs_mnt}${fixups_dir}/S00-internal-repository
|
||||
fi
|
||||
[ "x${INTERNAL}" = "xtrue" ] \
|
||||
|| rm -f ${rootfs_mnt}${fixups_dir}/S00-internal-repository
|
||||
|
||||
QEMU_BINARY=$(qemu_binary ${ARCH})
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@ ODROID_STAMPER_DIR="/usr/share/odroid-stamper"
|
||||
TOPDIR=${ODROID_STAMPER_CHECKOUT:-${ODROID_STAMPER_DIR}}
|
||||
WORKDIR=$PWD
|
||||
RUN_MENU=true
|
||||
INTERNAL=${INTERNAL:-false}
|
||||
|
||||
DEFAULT_CONFIG=${WORKDIR}/.config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user