Docker-DCO-1.1-Signed-off-by: Bartłomiej Piotrowski <b@bpiotrowski.pl> (github: Barthalion)
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,92 @@ |
| 0 |
+# |
|
| 1 |
+# /etc/pacman.conf |
|
| 2 |
+# |
|
| 3 |
+# See the pacman.conf(5) manpage for option and repository directives |
|
| 4 |
+ |
|
| 5 |
+# |
|
| 6 |
+# GENERAL OPTIONS |
|
| 7 |
+# |
|
| 8 |
+[options] |
|
| 9 |
+# The following paths are commented out with their default values listed. |
|
| 10 |
+# If you wish to use different paths, uncomment and update the paths. |
|
| 11 |
+#RootDir = / |
|
| 12 |
+#DBPath = /var/lib/pacman/ |
|
| 13 |
+#CacheDir = /var/cache/pacman/pkg/ |
|
| 14 |
+#LogFile = /var/log/pacman.log |
|
| 15 |
+#GPGDir = /etc/pacman.d/gnupg/ |
|
| 16 |
+HoldPkg = pacman glibc |
|
| 17 |
+#XferCommand = /usr/bin/curl -C - -f %u > %o |
|
| 18 |
+#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u |
|
| 19 |
+#CleanMethod = KeepInstalled |
|
| 20 |
+#UseDelta = 0.7 |
|
| 21 |
+Architecture = auto |
|
| 22 |
+ |
|
| 23 |
+# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup |
|
| 24 |
+#IgnorePkg = |
|
| 25 |
+#IgnoreGroup = |
|
| 26 |
+ |
|
| 27 |
+#NoUpgrade = |
|
| 28 |
+#NoExtract = |
|
| 29 |
+ |
|
| 30 |
+# Misc options |
|
| 31 |
+#UseSyslog |
|
| 32 |
+#Color |
|
| 33 |
+#TotalDownload |
|
| 34 |
+# We cannot check disk space from within a chroot environment |
|
| 35 |
+#CheckSpace |
|
| 36 |
+#VerbosePkgLists |
|
| 37 |
+ |
|
| 38 |
+# By default, pacman accepts packages signed by keys that its local keyring |
|
| 39 |
+# trusts (see pacman-key and its man page), as well as unsigned packages. |
|
| 40 |
+SigLevel = Required DatabaseOptional |
|
| 41 |
+LocalFileSigLevel = Optional |
|
| 42 |
+#RemoteFileSigLevel = Required |
|
| 43 |
+ |
|
| 44 |
+# NOTE: You must run `pacman-key --init` before first using pacman; the local |
|
| 45 |
+# keyring can then be populated with the keys of all official Arch Linux |
|
| 46 |
+# packagers with `pacman-key --populate archlinux`. |
|
| 47 |
+ |
|
| 48 |
+# |
|
| 49 |
+# REPOSITORIES |
|
| 50 |
+# - can be defined here or included from another file |
|
| 51 |
+# - pacman will search repositories in the order defined here |
|
| 52 |
+# - local/custom mirrors can be added here or in separate files |
|
| 53 |
+# - repositories listed first will take precedence when packages |
|
| 54 |
+# have identical names, regardless of version number |
|
| 55 |
+# - URLs will have $repo replaced by the name of the current repo |
|
| 56 |
+# - URLs will have $arch replaced by the name of the architecture |
|
| 57 |
+# |
|
| 58 |
+# Repository entries are of the format: |
|
| 59 |
+# [repo-name] |
|
| 60 |
+# Server = ServerName |
|
| 61 |
+# Include = IncludePath |
|
| 62 |
+# |
|
| 63 |
+# The header [repo-name] is crucial - it must be present and |
|
| 64 |
+# uncommented to enable the repo. |
|
| 65 |
+# |
|
| 66 |
+ |
|
| 67 |
+# The testing repositories are disabled by default. To enable, uncomment the |
|
| 68 |
+# repo name header and Include lines. You can add preferred servers immediately |
|
| 69 |
+# after the header, and they will be used before the default mirrors. |
|
| 70 |
+ |
|
| 71 |
+#[testing] |
|
| 72 |
+#Include = /etc/pacman.d/mirrorlist |
|
| 73 |
+ |
|
| 74 |
+[core] |
|
| 75 |
+Include = /etc/pacman.d/mirrorlist |
|
| 76 |
+ |
|
| 77 |
+[extra] |
|
| 78 |
+Include = /etc/pacman.d/mirrorlist |
|
| 79 |
+ |
|
| 80 |
+#[community-testing] |
|
| 81 |
+#Include = /etc/pacman.d/mirrorlist |
|
| 82 |
+ |
|
| 83 |
+[community] |
|
| 84 |
+Include = /etc/pacman.d/mirrorlist |
|
| 85 |
+ |
|
| 86 |
+# An example of a custom package repository. See the pacman manpage for |
|
| 87 |
+# tips on creating your own repositories. |
|
| 88 |
+#[custom] |
|
| 89 |
+#SigLevel = Optional TrustAll |
|
| 90 |
+#Server = file:///home/custompkgs |
|
| 91 |
+ |
| ... | ... |
@@ -22,7 +22,7 @@ PKGIGNORE=linux,jfsutils,lvm2,cryptsetup,groff,man-db,man-pages,mdadm,pciutils,p |
| 22 | 22 |
expect <<EOF |
| 23 | 23 |
set timeout 60 |
| 24 | 24 |
set send_slow {1 1}
|
| 25 |
- spawn pacstrap -c -d -G -i $ROOTFS base haveged --ignore $PKGIGNORE |
|
| 25 |
+ spawn pacstrap -C ./mkimage-arch-pacman.conf -c -d -G -i $ROOTFS base haveged --ignore $PKGIGNORE |
|
| 26 | 26 |
expect {
|
| 27 | 27 |
"Install anyway?" { send n\r; exp_continue }
|
| 28 | 28 |
"(default=all)" { send \r; exp_continue }
|