koompi/os-upgrade

Missing fixes for computer without KOOMPI repo

Closed this issue · 4 comments

Some of the packages that are needed to be installed are from KOOMPI repo and computer without this repo will fail at smart_install() because it cannot find ttf_* and other pakages.

So what is your ideal solution?

The easiest way is to overwrite the pacman.conf with a template everytimes the script start

Template:
[options]
HoldPkg = pacman glibc
Architecture = auto
Color
VerbosePkgLists
ParallelDownloads = 5
SigLevel = Never
LocalFileSigLevel = Optional

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

[koompi]
SigLevel = Never
Server = http://dev.koompi.org/koompi

Or, we could make template files of all configs and wrap in tar and then just extract them all with root permission into /

Brought back insert KOOMPI repo function in this commit ddfcde4.