Enable https support and update docs

- Patch ipxe general config to enable https
 - Update docs with patching
 - Update information on how to boot from Fedora People
This commit is contained in:
Jonathan Steffan 2016-01-17 22:01:12 -07:00
parent a2fd455503
commit 29dc8250e4
2 changed files with 25 additions and 6 deletions

View file

@ -21,12 +21,13 @@ Ensure the following dependencies are installed:
dnf groupinstall 'Development Tools' dnf groupinstall 'Development Tools'
dnf install syslinux-nonlinux xz-devel dnf install syslinux-nonlinux xz-devel
Clone the repos and build: Clone the repos, patch for https and build:
:: ::
git clone ssh://fasusername@git.fedorahosted.org/git/fedora-infrastructure.git git clone ssh://fasusername@git.fedorahosted.org/git/fedora-infrastructure.git
cd fedora-infrastructure/bfo cd fedora-infrastructure/bfo
git clone git://git.ipxe.org/ipxe.git git clone git://git.ipxe.org/ipxe.git
patch -p0 < ipxe_enable_https.patch
cd ipxe/src cd ipxe/src
make EMBED=../../script0.ipxe make EMBED=../../script0.ipxe
@ -73,12 +74,13 @@ Testing Changes
--------------- ---------------
To be able to test changes before publishing them, you can use Fedora People hosting and KVM. To be able to test changes before publishing them, you can use Fedora People hosting and KVM.
Clone the repos, configure for your Fedora People and build: Clone the repos, patch for https, configure for your Fedora People and build:
:: ::
git clone ssh://fasusername@git.fedorahosted.org/git/fedora-infrastructure.git git clone ssh://fasusername@git.fedorahosted.org/git/fedora-infrastructure.git
cd fedora-infrastructure/bfo cd fedora-infrastructure/bfo
git clone git://git.ipxe.org/ipxe.git git clone git://git.ipxe.org/ipxe.git
patch -p0 < ipxe_enable_https.patch
cd ipxe/src cd ipxe/src
cat << EOF > script0.ipxe cat << EOF > script0.ipxe
#!ipxe #!ipxe
@ -94,15 +96,20 @@ Clone the repos, configure for your Fedora People and build:
EOF EOF
make EMBED=script0.ipxe make EMBED=script0.ipxe
From the root of the fedora-infrastructure repo, copy your menu items to Fedora People: Prepare your BFO dist:
:: ::
scp -r bfo fasusername@fedorapeople.org/public_html/ mkdir bfo
wget -P bfo https://alt.fedoraproject.org/pub/alt/bfo/pxelinux.0 \
https://alt.fedoraproject.org/pub/alt/bfo/vesainfo.c32 \
https://alt.fedoraproject.org/pub/alt/bfo/vesamenu.c32 \
https://alt.fedoraproject.org/pub/alt/bfo/bfo.png
cp -r ../../pxelinux.cfg bfo
If needed, also put the latest copy of pxelinux.0 there: Copy your BFO dist to Fedora People:
:: ::
scp /usr/share/syslinux/pxelinux.0 fasusername@fedorapeople.org/public_html/bfo/ scp -r bfo fasusername@fedorapeople.org:public_html/
Boot the ipxe.iso: Boot the ipxe.iso:

View file

@ -0,0 +1,12 @@
diff -up ipxe/src/config/general.h.orig ipxe/src/config/general.h
--- ipxe/src/config/general.h.orig 2016-01-17 20:12:33.400371659 -0700
+++ ipxe/src/config/general.h 2016-01-17 20:12:40.262362583 -0700
@@ -53,7 +53,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
#define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
-#undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
+#define DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
#undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
#undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
#undef DOWNLOAD_PROTO_NFS /* Network File System Protocol */