/* now load SELinux policy before exec'ing anaconda and the shell
* (if we're using SELinux) */
@@ -2158,19 +2155,6 @@ int main(int argc, char ** argv) {
- *argptr++ = "--stage2";
- if (strncmp(url, "ftp:", 4)) {
- *argptr++ = url;
- } else {
- int fd, ret;
-
- fd = open("/tmp/ftp-stage2", O_CREAT | O_TRUNC | O_RDWR, 0600);
- ret = write(fd, url, strlen(url));
- ret = write(fd, "
", 1);
- close(fd);
- *argptr++ = "@/tmp/ftp-stage2";
- }
-
/* add extra args - this potentially munges extraArgs */
tmparg = extraArgs;
while (*tmparg) {
diff --git a/scripts/mk-images.x86 b/scripts/mk-images.x86
index e06d762..d8fb867 100644
--- a/scripts/mk-images.x86
+++ b/scripts/mk-images.x86
@@ -105,9 +105,6 @@ makeBootImages() {
# isolinux needs the config file to be isolinux.cfg
mv $MBD_BOOTTREE/syslinux.cfg $MBD_BOOTTREE/isolinux.cfg
- # set up the label for finding stage2 with a hybrid iso
- sed -i "s/initrd=initrd.img/initrd=initrd.img stage2=hd:LABEL="$CDLABEL"/" $MBD_BOOTTREE/isolinux.cfg
-
# copy in memtest if present
if [ -f $IMGPATH/usr/share/anaconda/boot/memtest* ]; then
cp $IMGPATH/usr/share/anaconda/boot/memtest* $MBD_BOOTTREE/memtest
--
1.7.1.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list