aboutsummaryrefslogtreecommitdiff
path: root/board/pc
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-05-10 09:38:56 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-05-10 10:30:15 +0200
commit79b8540d624ac4846ba341b1b9691eccacf0bc05 (patch)
tree84cf0e2cf19981cc0e72ab285e95afb0e1c9f2c2 /board/pc
parent5ea93e24cb84cea76a977df05f6cd166d4693575 (diff)
downloadbuildroot-79b8540d624ac4846ba341b1b9691eccacf0bc05.tar.gz
buildroot-79b8540d624ac4846ba341b1b9691eccacf0bc05.tar.bz2
board/pc: drop unused grub-efi.cfg file
Following commit fee29b05bb7db25e37c8a5175ce00dc712554edf ("configs/pc_x86_64_efi: use a GPT partition table"), board/pc/grub-efi.cfg is no longer used anywhere: the post-image-efi-gpt.sh script generates the grub configuration. Also, since post-image-efi-gpt.sh generates a grub configuration file that uses the root filesystem partition UUID as the root= kernel argument, the instructions in the readme.txt file to tweak root= from /dev/sda2 to /dev/vda2 is no longer relevant. This was noted in the commit log of fee29b05bb7db25e37c8a5175ce00dc712554edf: The root filesystem location is passed to the kernel by a partition UUID, so it is possible to boot on QEMU, directly from the disk image, or dump the image to a physical device. Fixes: #11841 Cc: Pete Morici <pmorici@dev295.com> Cc: Carlos A. M. dos Santos <unixmania@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board/pc')
-rw-r--r--board/pc/grub-efi.cfg6
-rw-r--r--board/pc/readme.txt8
2 files changed, 1 insertions, 13 deletions
diff --git a/board/pc/grub-efi.cfg b/board/pc/grub-efi.cfg
deleted file mode 100644
index 222301a4e0..0000000000
--- a/board/pc/grub-efi.cfg
+++ /dev/null
@@ -1,6 +0,0 @@
-set default="0"
-set timeout="5"
-
-menuentry "Buildroot" {
- linux /bzImage root=/dev/sda2 rootwait console=tty1
-}
diff --git a/board/pc/readme.txt b/board/pc/readme.txt
index 895331b0af..41aec50d36 100644
--- a/board/pc/readme.txt
+++ b/board/pc/readme.txt
@@ -57,13 +57,7 @@ qemu-system-x86_64 \
Emulation in qemu (UEFI)
========================
-1. Edit grub-efi.cfg
-
- Since the driver will show up in the virtual machine as /dev/vda,
- change board/pc/grub-efi.cfg to use root=/dev/vda2 instead of
- root=/dev/sda2. Then rebuild grub2 and the image.
-
-2. Run the emulation with:
+Run the emulation with:
qemu-system-x86_64 \
-M pc \