diff options
Diffstat (limited to 'distro')
-rw-r--r-- | distro/fedora/grub.cfg | 5 | ||||
-rw-r--r-- | distro/fedora/install.sh | 4 | ||||
-rw-r--r-- | distro/fedora/mirrorlist | 2 |
3 files changed, 11 insertions, 0 deletions
diff --git a/distro/fedora/grub.cfg b/distro/fedora/grub.cfg new file mode 100644 index 0000000..b0dd30e --- /dev/null +++ b/distro/fedora/grub.cfg @@ -0,0 +1,5 @@ +menuentry 'Fedora 24 x86_64' { + linux /liveusb-kernel/fedora/vmlinuz root=live:UUID=$uuid ro rd.live.dir=liveusb-data/fedora quiet rhgb + initrd /liveusb-kernel/fedora/initrd.img +} + diff --git a/distro/fedora/install.sh b/distro/fedora/install.sh index 5b81ffc..6a847e1 100644 --- a/distro/fedora/install.sh +++ b/distro/fedora/install.sh @@ -3,6 +3,10 @@ SHA256=8e12d7ba1fcf3328b8514d627788ee0146c0eef75a5e27f0674ee1fe4f1feaf6 install_live() { mount_iso + install -d "$DATADIR/fedora" + cp "$ISOMNT/LiveOS"/* "$DATADIR/fedora/" + install -d "$KERNELDIR/fedora" + cp "$ISOMNT/isolinux/vmlinuz" "$ISOMNT/isolinux/initrd.img" "$KERNELDIR/fedora" umount_iso } diff --git a/distro/fedora/mirrorlist b/distro/fedora/mirrorlist new file mode 100644 index 0000000..18794f6 --- /dev/null +++ b/distro/fedora/mirrorlist @@ -0,0 +1,2 @@ +https://mirrors.tuna.tsinghua.edu.cn/fedora/ +http://mirrors.ustc.edu.cn/fedora/linux/ |