forked from mirrored-repos/manjaro-tools
add pacman-gfx and pacman-lng
This commit is contained in:
parent
1a66b4165d
commit
c04db16b97
3 changed files with 159 additions and 11 deletions
24
Makefile
24
Makefile
|
@ -27,10 +27,10 @@ SYSCONFIGFILES = \
|
||||||
|
|
||||||
SETS_PKG = \
|
SETS_PKG = \
|
||||||
sets/pkg/default.set
|
sets/pkg/default.set
|
||||||
|
|
||||||
SETS_ISO = \
|
SETS_ISO = \
|
||||||
sets/iso/default.set
|
sets/iso/default.set
|
||||||
|
|
||||||
CONFIGFILES = \
|
CONFIGFILES = \
|
||||||
conf/makepkg-i686.conf \
|
conf/makepkg-i686.conf \
|
||||||
conf/makepkg-x86_64.conf \
|
conf/makepkg-x86_64.conf \
|
||||||
|
@ -38,30 +38,32 @@ CONFIGFILES = \
|
||||||
conf/pacman-multilib.conf \
|
conf/pacman-multilib.conf \
|
||||||
conf/pacman-mirrors-stable.conf \
|
conf/pacman-mirrors-stable.conf \
|
||||||
conf/pacman-mirrors-testing.conf \
|
conf/pacman-mirrors-testing.conf \
|
||||||
conf/pacman-mirrors-unstable.conf
|
conf/pacman-mirrors-unstable.conf \
|
||||||
|
conf/pacman-gfx.conf \
|
||||||
|
conf/pacman-lng.conf
|
||||||
|
|
||||||
LIBS = \
|
LIBS = \
|
||||||
lib/util.sh \
|
lib/util.sh \
|
||||||
lib/util-mount.sh \
|
lib/util-mount.sh \
|
||||||
lib/util-msg.sh \
|
lib/util-msg.sh \
|
||||||
lib/util-pkg.sh \
|
lib/util-pkg.sh \
|
||||||
lib/util-livecd.sh \
|
|
||||||
lib/util-iso.sh \
|
|
||||||
lib/util-fstab.sh \
|
lib/util-fstab.sh \
|
||||||
|
lib/util-iso.sh \
|
||||||
lib/util-iso-image.sh \
|
lib/util-iso-image.sh \
|
||||||
lib/util-iso-calamares.sh
|
lib/util-iso-calamares.sh \
|
||||||
|
lib/util-livecd.sh
|
||||||
|
|
||||||
CPIOHOOKS = \
|
CPIOHOOKS = \
|
||||||
initcpio/hooks/miso \
|
initcpio/hooks/miso \
|
||||||
initcpio/hooks/miso_loop_mnt \
|
initcpio/hooks/miso_loop_mnt \
|
||||||
initcpio/hooks/miso_pxe_nbd
|
initcpio/hooks/miso_pxe_nbd
|
||||||
|
|
||||||
CPIOINST = \
|
CPIOINST = \
|
||||||
initcpio/inst/miso \
|
initcpio/inst/miso \
|
||||||
initcpio/inst/miso_loop_mnt \
|
initcpio/inst/miso_loop_mnt \
|
||||||
initcpio/inst/miso_pxe_nbd \
|
initcpio/inst/miso_pxe_nbd \
|
||||||
initcpio/inst/miso_kms
|
initcpio/inst/miso_kms
|
||||||
|
|
||||||
SCRIPTS = \
|
SCRIPTS = \
|
||||||
scripts/mhwd-live \
|
scripts/mhwd-live \
|
||||||
scripts/livecd
|
scripts/livecd
|
||||||
|
@ -104,7 +106,7 @@ install:
|
||||||
install -m0755 ${CPIOINST} $(DESTDIR)$(PREFIX)/lib/initcpio/install
|
install -m0755 ${CPIOINST} $(DESTDIR)$(PREFIX)/lib/initcpio/install
|
||||||
install -dm0755 $(DESTDIR)$(PREFIX)/share/manjaro-tools/scripts
|
install -dm0755 $(DESTDIR)$(PREFIX)/share/manjaro-tools/scripts
|
||||||
install -m0644 ${SCRIPTS} $(DESTDIR)$(PREFIX)/share/manjaro-tools/scripts
|
install -m0644 ${SCRIPTS} $(DESTDIR)$(PREFIX)/share/manjaro-tools/scripts
|
||||||
|
|
||||||
# install -Dm0644 bin/bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/manjaro_tools
|
# install -Dm0644 bin/bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/manjaro_tools
|
||||||
# install -Dm0644 bin/zsh_completion $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_manjaro_tools
|
# install -Dm0644 bin/zsh_completion $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_manjaro_tools
|
||||||
|
|
||||||
|
@ -119,7 +121,7 @@ uninstall:
|
||||||
for f in ${CPIOHOOKS}; do rm -f $(DESTDIR)$(PREFIX)/lib/initcpio/hooks/$$f; done
|
for f in ${CPIOHOOKS}; do rm -f $(DESTDIR)$(PREFIX)/lib/initcpio/hooks/$$f; done
|
||||||
for f in ${CPIOINST}; do rm -f $(DESTDIR)$(PREFIX)/lib/initcpio/install/$$f; done
|
for f in ${CPIOINST}; do rm -f $(DESTDIR)$(PREFIX)/lib/initcpio/install/$$f; done
|
||||||
for f in ${SCRIPTS}; do rm -f $(DESTDIR)$(PREFIX)/share/manjaro-tools/scripts/$$f; done
|
for f in ${SCRIPTS}; do rm -f $(DESTDIR)$(PREFIX)/share/manjaro-tools/scripts/$$f; done
|
||||||
|
|
||||||
# rm $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/manjaro_tools
|
# rm $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/manjaro_tools
|
||||||
# rm $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_manjaro_tools
|
# rm $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_manjaro_tools
|
||||||
|
|
||||||
|
|
73
conf/pacman-gfx.conf
Normal file
73
conf/pacman-gfx.conf
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
#
|
||||||
|
# /etc/pacman.conf
|
||||||
|
#
|
||||||
|
# See the pacman.conf(5) manpage for option and repository directives
|
||||||
|
|
||||||
|
#
|
||||||
|
# GENERAL OPTIONS
|
||||||
|
#
|
||||||
|
[options]
|
||||||
|
# The following paths are commented out with their default values listed.
|
||||||
|
# If you wish to use different paths, uncomment and update the paths.
|
||||||
|
#RootDir = /
|
||||||
|
#DBPath = /var/lib/pacman/
|
||||||
|
#CacheDir = /var/cache/pacman/pkg/
|
||||||
|
#LogFile = /var/log/pacman.log
|
||||||
|
#GPGDir = /etc/pacman.d/gnupg/
|
||||||
|
HoldPkg = pacman glibc
|
||||||
|
# If upgrades are available for these packages they will be asked for first
|
||||||
|
SyncFirst = pacman
|
||||||
|
#XferCommand = /usr/bin/curl -C - -f %u > %o
|
||||||
|
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
|
||||||
|
#CleanMethod = KeepInstalled
|
||||||
|
Architecture = auto
|
||||||
|
|
||||||
|
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
|
||||||
|
#IgnorePkg =
|
||||||
|
#IgnoreGroup =
|
||||||
|
|
||||||
|
#NoUpgrade =
|
||||||
|
#NoExtract =
|
||||||
|
|
||||||
|
# Misc options
|
||||||
|
#UseSyslog
|
||||||
|
#UseDelta
|
||||||
|
#TotalDownload
|
||||||
|
CheckSpace
|
||||||
|
#VerbosePkgLists
|
||||||
|
|
||||||
|
# PGP signature checking
|
||||||
|
# NOTE: None of this will work without running `pacman-key --init` first.
|
||||||
|
# The compiled in default is equivalent to the following line. This requires
|
||||||
|
# you to locally sign and trust packager keys using `pacman-key` for them to be
|
||||||
|
# considered valid.
|
||||||
|
#SigLevel = Optional TrustedOnly
|
||||||
|
# If you wish to check signatures but avoid local sign and trust issues, use
|
||||||
|
# the following line. This will treat any key imported into pacman's keyring as
|
||||||
|
# trusted.
|
||||||
|
#SigLevel = Optional TrustAll
|
||||||
|
# For now, off by default unless you read the above.
|
||||||
|
SigLevel = Never
|
||||||
|
|
||||||
|
#
|
||||||
|
# REPOSITORIES
|
||||||
|
# - can be defined here or included from another file
|
||||||
|
# - pacman will search repositories in the order defined here
|
||||||
|
# - local/custom mirrors can be added here or in separate files
|
||||||
|
# - repositories listed first will take precedence when packages
|
||||||
|
# have identical names, regardless of version number
|
||||||
|
# - URLs will have $repo replaced by the name of the current repo
|
||||||
|
# - URLs will have $arch replaced by the name of the architecture
|
||||||
|
#
|
||||||
|
# Repository entries are of the format:
|
||||||
|
# [repo-name]
|
||||||
|
# Server = ServerName
|
||||||
|
# Include = IncludePath
|
||||||
|
#
|
||||||
|
# The header [repo-name] is crucial - it must be present and
|
||||||
|
# uncommented to enable the repo.
|
||||||
|
#
|
||||||
|
|
||||||
|
[gfx-pkgs]
|
||||||
|
#SigLevel = Optional TrustAll
|
||||||
|
Server = file:///opt/livecd/pkgs
|
73
conf/pacman-lng.conf
Normal file
73
conf/pacman-lng.conf
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
#
|
||||||
|
# /etc/pacman.conf
|
||||||
|
#
|
||||||
|
# See the pacman.conf(5) manpage for option and repository directives
|
||||||
|
|
||||||
|
#
|
||||||
|
# GENERAL OPTIONS
|
||||||
|
#
|
||||||
|
[options]
|
||||||
|
# The following paths are commented out with their default values listed.
|
||||||
|
# If you wish to use different paths, uncomment and update the paths.
|
||||||
|
#RootDir = /
|
||||||
|
#DBPath = /var/lib/pacman/
|
||||||
|
#CacheDir = /var/cache/pacman/pkg/
|
||||||
|
#LogFile = /var/log/pacman.log
|
||||||
|
#GPGDir = /etc/pacman.d/gnupg/
|
||||||
|
HoldPkg = pacman glibc
|
||||||
|
# If upgrades are available for these packages they will be asked for first
|
||||||
|
SyncFirst = pacman
|
||||||
|
#XferCommand = /usr/bin/curl -C - -f %u > %o
|
||||||
|
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
|
||||||
|
#CleanMethod = KeepInstalled
|
||||||
|
Architecture = auto
|
||||||
|
|
||||||
|
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
|
||||||
|
#IgnorePkg =
|
||||||
|
#IgnoreGroup =
|
||||||
|
|
||||||
|
#NoUpgrade =
|
||||||
|
#NoExtract =
|
||||||
|
|
||||||
|
# Misc options
|
||||||
|
#UseSyslog
|
||||||
|
#UseDelta
|
||||||
|
#TotalDownload
|
||||||
|
CheckSpace
|
||||||
|
#VerbosePkgLists
|
||||||
|
|
||||||
|
# PGP signature checking
|
||||||
|
# NOTE: None of this will work without running `pacman-key --init` first.
|
||||||
|
# The compiled in default is equivalent to the following line. This requires
|
||||||
|
# you to locally sign and trust packager keys using `pacman-key` for them to be
|
||||||
|
# considered valid.
|
||||||
|
#SigLevel = Optional TrustedOnly
|
||||||
|
# If you wish to check signatures but avoid local sign and trust issues, use
|
||||||
|
# the following line. This will treat any key imported into pacman's keyring as
|
||||||
|
# trusted.
|
||||||
|
#SigLevel = Optional TrustAll
|
||||||
|
# For now, off by default unless you read the above.
|
||||||
|
SigLevel = Never
|
||||||
|
|
||||||
|
#
|
||||||
|
# REPOSITORIES
|
||||||
|
# - can be defined here or included from another file
|
||||||
|
# - pacman will search repositories in the order defined here
|
||||||
|
# - local/custom mirrors can be added here or in separate files
|
||||||
|
# - repositories listed first will take precedence when packages
|
||||||
|
# have identical names, regardless of version number
|
||||||
|
# - URLs will have $repo replaced by the name of the current repo
|
||||||
|
# - URLs will have $arch replaced by the name of the architecture
|
||||||
|
#
|
||||||
|
# Repository entries are of the format:
|
||||||
|
# [repo-name]
|
||||||
|
# Server = ServerName
|
||||||
|
# Include = IncludePath
|
||||||
|
#
|
||||||
|
# The header [repo-name] is crucial - it must be present and
|
||||||
|
# uncommented to enable the repo.
|
||||||
|
#
|
||||||
|
|
||||||
|
[lng-pkgs]
|
||||||
|
#SigLevel = Optional TrustAll
|
||||||
|
Server = file:///opt/livecd/lng
|
Loading…
Reference in a new issue