Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [0d7315] Maximize Restore History

fixed issues with vista uac, beginnings of iso boot support

Geza Kovacs Geza Kovacs 2008-02-01

added override/pclos2008
added winbuild/7z.dll
added winbuild/7z.exe
added winbuild/bootedit.bat
added winbuild/bootedit.lnk
added winbuild/bootundo.lnk
removed winbuild/vbooted.bat
removed winbuild/vbootun.bat
removed winbuild/wcfged.bat
removed winbuild/wcfgun.bat
changed build
changed functions
changed override
changed override/frugalcurrent
changed winbuild
changed winbuild/unetbootin.nsi
copied winbuild/detinitloc.bat -> winbuild/bootundo.bat
copied winbuild/detkernloc.bat -> functions/isoboot
override/pclos2008 Diff Switch to side-by-side view
Loading...
winbuild/7z.dll Diff Switch to side-by-side view
Loading...
winbuild/7z.exe Diff Switch to side-by-side view
Loading...
winbuild/bootedit.bat Diff Switch to side-by-side view
Loading...
winbuild/bootedit.lnk Diff Switch to side-by-side view
Loading...
winbuild/bootundo.lnk Diff Switch to side-by-side view
Loading...
winbuild/vbooted.bat
File was removed.
winbuild/vbootun.bat
File was removed.
winbuild/wcfged.bat
File was removed.
winbuild/wcfgun.bat
File was removed.
build Diff Switch to side-by-side view
Loading...
functions
Directory.
override
Directory.
override/frugalcurrent Diff Switch to side-by-side view
Loading...
winbuild
Directory.
winbuild/unetbootin.nsi Diff Switch to side-by-side view
Loading...
winbuild/detinitloc.bat to winbuild/bootundo.bat
--- a/winbuild/detinitloc.bat
+++ b/winbuild/bootundo.bat
@@ -1,2 +1,9 @@
-echo baseinitkernurl| c:\unetbootin\tr.exe -d "\r\n" > c:\unetbootin\initurl.txt
-c:\unetbootin\wget.exe -q baseinitkernurl -O - | c:\unetbootin\tr.exe "<" "\n" | c:\unetbootin\tr.exe ">" "\n" | find "initrd" | find /v "a href" | find "basedeselarch" | c:\unetbootin\tr.exe -d "\r\n" >> c:\unetbootin\initurl.txt
+set /p vbcdid= < c:\unetbootin\bcdid
+bcdedit /delete {%vbcdid%}
+del c:\unetbootin\bcdid
+if not exist c:\unetbootin\config.bku exit
+attrib -s -r -h c:\unetbootin\config.bku
+attrib -s -r -h c:\config.sys
+copy /y c:\unetbootin\config.bku c:\config.sys
+del c:\unetbootin\config.bku
+attrib +h +r +s c:\config.sys
winbuild/detkernloc.bat to functions/isoboot
--- a/winbuild/detkernloc.bat
+++ b/functions/isoboot
@@ -1,2 +1,20 @@
-echo baseinitkernurl| c:\unetbootin\tr.exe -d "\r\n" > c:\unetbootin\kernurl.txt
-c:\unetbootin\wget.exe -q baseinitkernurl -O - | c:\unetbootin\tr.exe "<" "\n" | c:\unetbootin\tr.exe ">" "\n" | find "vmlinuz" | find /v "a href" | find "basedeselarch" | c:\unetbootin\tr.exe -d "\r\n" >> c:\unetbootin\kernurl.txt
+#!/bin/sh
+
+if [ "$3" != "" ]
+then
+ktypeparam="$3"
+else
+ktypeparam="kernel"
+fi
+
+if [ "$4" != "" ]
+then
+kflparam="$4"
+else
+kflparam="ubnkern"
+fi
+
+sed -i "s/kernel \/boot\/ubnkern/$ktypeparam \/boot\/$kflparam $2/g" $1
+sed -i "s/kernel \$grbootsup\/ubnkern/$ktypeparam \$grbootsup\/$kflparam $2/g" $1
+sed -i "s/kernel \/wubi\/boot\/ubnkern/$ktypeparam \/wubi\/boot\/$kflparam $2/g" $1
+sed -i "s/kernel \/ubuntu\/disks\/boot\/ubnkern/$ktypeparam \/ubuntu\/disks\/boot\/$kflparam $2/g" $1