mirror of
https://github.com/luzifer-docker/archlinux.git
synced 2024-12-20 11:01:23 +00:00
Use pacman.conf from devtools
This commit is contained in:
parent
601fcd2526
commit
4a03bbb541
3 changed files with 2 additions and 15 deletions
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
rootfs:
|
rootfs:
|
||||||
$(eval TMPDIR := $(shell mktemp -d))
|
$(eval TMPDIR := $(shell mktemp -d))
|
||||||
pacstrap -C rootfs/etc/pacman.conf -c -d -G -M $(TMPDIR) $(shell cat packages)
|
pacstrap -C /usr/share/devtools/pacman-extra.conf -c -d -G -M $(TMPDIR) $(shell cat packages)
|
||||||
cp -rvp --backup --suffix=.pacnew rootfs/* $(TMPDIR)/
|
cp -rvp --backup --suffix=.pacnew rootfs/* $(TMPDIR)/
|
||||||
arch-chroot $(TMPDIR) locale-gen
|
arch-chroot $(TMPDIR) locale-gen
|
||||||
arch-chroot $(TMPDIR) pacman-key --init
|
arch-chroot $(TMPDIR) pacman-key --init
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
This repository contains all scripts and files needed to crate a Docker base image for the Arch Linux distribution.
|
This repository contains all scripts and files needed to crate a Docker base image for the Arch Linux distribution.
|
||||||
## Dependencies
|
## Dependencies
|
||||||
Install the following Arch Linux packages:
|
Install the following Arch Linux packages:
|
||||||
* arch-install-scripts
|
|
||||||
* make
|
* make
|
||||||
|
* devtools
|
||||||
## Usage
|
## Usage
|
||||||
Run `make docker-image` as root to build the base image.
|
Run `make docker-image` as root to build the base image.
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
[options]
|
|
||||||
Architecture = auto
|
|
||||||
SigLevel = Required DatabaseOptional
|
|
||||||
LocalFileSigLevel = Optional
|
|
||||||
|
|
||||||
[core]
|
|
||||||
Include = /etc/pacman.d/mirrorlist
|
|
||||||
|
|
||||||
[extra]
|
|
||||||
Include = /etc/pacman.d/mirrorlist
|
|
||||||
|
|
||||||
[community]
|
|
||||||
Include = /etc/pacman.d/mirrorlist
|
|
Loading…
Reference in a new issue