Ian Wienand 349e8db2f7 yum-minimal: pre-install base packages
We were getting some subtle issues in fedora-minimal builds that
turned out to be because /var/run was not a symlink to /run.

Upon further investigation, it turns out that yum is creating a
/var/run directory for it's pid file when it starts working in the
empty chroot (which I verified by stracing it)

---
5905  stat("/home/ubuntu/tmp/dib-tmp/image.Ac4VZZsl/mnt/var/run", 0x7ffddffa0330) = -1 ENOENT (No such file or directory)
5905  mkdir("/home/ubuntu/tmp/dib-tmp/image.Ac4VZZsl/mnt/var/run", 0755) = 0
5905  open("/home/ubuntu/tmp/dib-tmp/image.Ac4VZZsl/mnt/var/run/yum.pid", O_WRONLY|O_CREAT|O_EXCL, 0644) = 6
---

Because this happens *before* we install "filesystem" (the package),
we mess up it's symlinking.

To work-around this, pre-install the trio of base packages (setup,
basesystem, filesystem) with rpm from outside the chroot.

Change-Id: I411b6ec9d91d95d3a0f98e76853086af3b70abe8
2016-02-11 15:42:10 +11:00
..
2015-05-17 02:07:40 +00:00
2016-02-01 20:56:37 -06:00
2016-01-15 12:06:16 -08:00
2015-02-12 10:41:32 +11:00
2016-02-02 10:34:18 +11:00
2016-02-01 21:03:03 -06:00
2016-01-28 16:41:35 +03:00
2015-10-13 17:54:09 -07:00
2016-01-20 19:08:54 -05:00
2016-02-04 23:41:45 -06:00
2015-12-10 20:12:14 +00:00
2015-02-12 10:41:32 +11:00
2015-09-23 23:55:18 -07:00
2015-02-12 10:41:32 +11:00
2015-02-12 10:41:32 +11:00
2015-06-26 09:57:12 +08:00
2015-07-01 22:03:50 +02:00
2015-02-12 10:41:32 +11:00
2016-01-14 16:21:25 +11:00
2015-11-09 07:58:00 +00:00
2015-10-19 15:38:00 +01:00
2015-10-12 15:31:09 -05:00
2015-02-12 10:41:32 +11:00
2015-03-04 23:11:27 +00:00
2015-12-15 20:49:03 +01:00
2015-02-12 10:41:32 +11:00