Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added PCLinuxOS support

  • Loading branch information...
commit 5368934cfd3e58f7870bf976ede767cec0e997a4 1 parent db59910
Geza Kovacs authored
20 functions/isoboot
View
@@ -1,20 +1,10 @@
#!/bin/sh
-if [ "$3" != "" ]
-then
-ktypeparam="$3"
-else
-ktypeparam="kernel"
-fi
+sed -i "s/\#isdl //g" $1
+sed -i "s/isourloc/$2/g" $1
-if [ "$4" != "" ]
+if [ "$1" = ./winbuild/menu.lst ]
then
-kflparam="$4"
-else
-kflparam="ubnkern"
+sed -i 's/\; isdl //g' ./winbuild/unetbootin.nsi
+sed -i "s/isourloc/$2/g" ./winbuild/unetbootin.nsi
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
4 override/partitionmanager
View
@@ -1,5 +1,3 @@
#!/bin/sh
-sed -i "s/kernel \/boot\/ubnkern/kernel \/boot\/ubnkern root=\/dev\/ram0 init=\/linuxrc ramdisk_size=100000 skip xvesa toram/g" $1
-sed -i "s/kernel \/wubi\/boot\/ubnkern/kernel \/wubi\/boot\/ubnkern root=\/dev\/ram0 init=\/linuxrc ramdisk_size=100000 skip xvesa toram/g" $1
-sed -i "s/kernel \/ubuntu\/disks\/boot\/ubnkern/kernel \/ubuntu\/disks\/boot\/ubnkern root=\/dev\/ram0 init=\/linuxrc ramdisk_size=100000 skip xvesa toram/g" $1
+./functions/kernpar $1 'root=\/dev\/ram0 init=\/linuxrc ramdisk_size=100000 skip xvesa toram'
7 override/pclos2008
View
@@ -1,3 +1,8 @@
#!/bin/sh
-./functions/kernpar $1 'vga=788 splash=silent'
+isodlurl="http:\/\/www.pclosusers.com\/pclosusers\/isos\/livecd\/pclinuxos-minime-2008.iso"
+
+./functions/kernpar $1 'livecd=livecd root=\/dev\/rd\/3 acpi=on vga=788 keyb=us splash=silent fstab=rw,noauto'
+./functions/nckern $1
+./functions/ncinit $1
+./functions/isoboot $1 "$isodlurl"
4 override/vector59
View
@@ -1,5 +1,3 @@
#!/bin/sh
-sed -i "s/kernel \/boot\/ubnkern/kernel \/boot\/ubnkern load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=32000 rw root=\/dev\/ram/g" $1
-sed -i "s/kernel \/wubi\/boot\/ubnkern/kernel \/wubi\/boot\/ubnkern load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=32000 rw root=\/dev\/ram/g" $1
-sed -i "s/kernel \/ubuntu\/disks\/boot\/ubnkern/kernel \/ubuntu\/disks\/boot\/ubnkern load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=32000 rw root=\/dev\/ram/g" $1
+./functions/kernpar $1 'ubnkern load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=32000 rw root=\/dev\/ram'
7 winbuild/isoexrct.bat
View
@@ -1,2 +1,7 @@
-c:\unetbtin\7z.exe x c:\unetbtin\ubniso.iso -o c:\unetbtin\isotemp
+c:\unetbtin\7z.exe x c:\unetbtin\ubniso.iso -o c:\unetbtin\isotemp
+copy c:\unetbtin\isotemp\isolinux\vmlinuz c:\unetbtin\ubnkern
+copy c:\unetbtin\isotemp\isolinux\initrd.gz c:\unetbtin\ubninit
+copy c:\unetbtin\isotemp\livecd.sqfs c:\livecd.sqfs
+deltree c:\unetbtin\isotemp /y
+rmdir c:\unetbtin\isotemp /s
cls
26 winbuild/unetbootin.nsi
View
@@ -119,21 +119,20 @@ WriteRegStr HKEY_LOCAL_MACHINE SOFTWARE\Microsoft\WIndows\CurrentVersion\RunOnce
; ltbe InetLoad::load /RESUME "Download failed, would you like to resume" "rpubnkernurl" "$INSTDIR\unetbtin\ubnkern"
; ltbe Pop $0
; ltbe StrCmp $0 "OK" ltbekdlok
- ; ltbe MessageBox MB_OK|MB_ICONEXCLAMATION "Download Error, click OK to abort installation" /SD IDOK
- ; ltbe Abort
- ; ltbe ltbekdlok:
+ ; ltbe MessageBox MB_OK|MB_ICONEXCLAMATION "Download failed or aborted. To undo changes, uninstall UNetbootin. Then, to retry the auto-downloader, reinstall, or to use pre-downloaded files, download rpubnkernurl to $INSTDIR\unetbtin\ubnkern and reinstall UNetbootin." /SD IDOK
+ ; ltbe ltbekdlok:
+ ; cdtu IfFileExists "$INSTDIR\unetbtin\ubninit" ltbeidlok
; ltbe InetLoad::load /RESUME "Download failed, would you like to resume" "rpubniniturl" "$INSTDIR\unetbtin\ubninit"
; ltbe Pop $0
; ltbe StrCmp $0 "OK" ltbeidlok
- ; ltbe MessageBox MB_OK|MB_ICONEXCLAMATION "Download Error, click OK to abort installation" /SD IDOK
- ; ltbe Abort
+ ; ltbe MessageBox MB_OK|MB_ICONEXCLAMATION "Download failed or aborted. To undo changes, uninstall UNetbootin. Then, to retry the auto-downloader, reinstall, or to use pre-downloaded files, download rpubniniturl to $INSTDIR\unetbtin\ubninit and reinstall UNetbootin." /SD IDOK
; ltbe ltbeidlok:
+ ; isdl IfFileExists "$INSTDIR\unetbtin\ubniso.iso" isdldlok
; isdl InetLoad::load /RESUME "Download failed, would you like to resume" "isourloc" "$INSTDIR\unetbtin\ubniso.iso"
; isdl Pop $0
; isdl StrCmp $0 "OK" isdldlok
- ; isdl MessageBox MB_OK|MB_ICONEXCLAMATION "Download Error, click OK to abort installation" /SD IDOK
- ; isdl Abort
+ ; isdl MessageBox MB_OK|MB_ICONEXCLAMATION "Download failed or aborted. To undo changes, uninstall UNetbootin. Then, to retry the auto-downloader, reinstall, or to use pre-downloaded files, download isourloc to $INSTDIR\unetbtin\ubniso.iso and reinstall UNetbootin." /SD IDOK
; isdl isdldlok:
; cdtu IfFileExists "$INSTDIR\unetbtin\ubnkern" cdtukdlok
@@ -148,17 +147,16 @@ WriteRegStr HKEY_LOCAL_MACHINE SOFTWARE\Microsoft\WIndows\CurrentVersion\RunOnce
; cdtu InetLoad::load /RESUME "Download failed, would you like to resume" "$varkernurl" "$INSTDIR\unetbtin\ubnkern"
; cdtu Pop $0
; cdtu StrCmp $0 "OK" cdtukdlok
- ; cdtu MessageBox MB_OK|MB_ICONEXCLAMATION "Download Error, click OK to abort installation" /SD IDOK
- ; cdtu Abort
- ; cdtu cdtukdlok:
+ ; cdtu MessageBox MB_OK|MB_ICONEXCLAMATION "Download failed or aborted. To undo changes, uninstall UNetbootin. Then, to retry the auto-downloader, reinstall, or to use pre-downloaded files, download $varkernurl to $INSTDIR\unetbtin\ubnkern and reinstall UNetbootin." /SD IDOK
+ ; cdtu cdtukdlok:
+ ; cdtu IfFileExists "$INSTDIR\unetbtin\ubninit" cdtuidlok
; cdtu FileOpen $4 "c:\unetbtin\initurl.txt" r
; cdtu FileRead $4 $variniturl
; cdtu FileClose $4
; cdtu InetLoad::load /RESUME "Download failed, would you like to resume" "$variniturl" "$INSTDIR\unetbtin\ubninit"
; cdtu Pop $0
; cdtu StrCmp $0 "OK" cdtuidlok
- ; cdtu MessageBox MB_OK|MB_ICONEXCLAMATION "Download Error, click OK to abort installation" /SD IDOK
- ; cdtu Abort
+ ; cdtu MessageBox MB_OK|MB_ICONEXCLAMATION "Download failed or aborted. To undo changes, uninstall UNetbootin. Then, to retry the auto-downloader, reinstall, or to use pre-downloaded files, download $variniturl to $INSTDIR\unetbtin\ubninit and reinstall UNetbootin." /SD IDOK
; cdtu cdtuidlok:
ReadRegStr $varwinvers HKLM \
@@ -248,8 +246,8 @@ Section Uninstall
; isdl Delete "$INSTDIR\isoexrct.pif"
; isdl Delete "$INSTDIR\7z.dll"
; isdl Delete "$INSTDIR\7z.exe"
- ; isdl Delete "$INSTDIR\unetbtin\ubniso.iso"
-
+ ; isdl Delete "$INSTDIR\ubniso.iso"
+ ; isdl Delete "$INSTDIR\..\livecd.sqfs"

This is for PCLinuxOS Live Cd ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
RMDir "$INSTDIR"
Bawang Bombai

This is for PCLinuxOS Live Cd ?

Please sign in to comment.
Something went wrong with that request. Please try again.