mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 01:48:42 +09:00
ODROID-M1: fixup: add '[trusted=yes]' except Ubuntu 20.04 (Focal)
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I4ffee2cf1119867f42c4b1640ad62ea9193618da
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
CODENAME=$(lsb_release -cs)
|
||||
|
||||
[ "x${CODENAME}" = "xfocal" ] || OPTION="[trusted=yes]"
|
||||
|
||||
cat>>/etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list<<__EOF
|
||||
deb [trusted=yes] http://ppa.linuxfactory.or.kr @@DEFAULT_DISTRO@@ rk3568
|
||||
deb [trusted=yes] http://ppa.linuxfactory.or.kr @@DEFAULT_DISTRO@@ rockchip
|
||||
deb ${OPTION} http://ppa.linuxfactory.or.kr @@DEFAULT_DISTRO@@ rk3568
|
||||
deb ${OPTION} http://ppa.linuxfactory.or.kr @@DEFAULT_DISTRO@@ rockchip
|
||||
__EOF
|
||||
|
||||
sed -i "/non-free/d" /etc/apt/sources.list.d/ppa-linuxfactory-or-kr.list
|
||||
|
||||
Reference in New Issue
Block a user