Permalink
Browse files

added readme, nsis, fixed buildscripts, and added ubuntu 7.10 initrd …

…and kernels
  • Loading branch information...
1 parent 7dac59c commit d12bd08d526fcbebbe03d5e6bf6924c60d0f2e41 @gkovacs gkovacs committed Oct 29, 2007
View
@@ -0,0 +1,2 @@
+dist
+winbuild/nsis
View
Binary file not shown.
View
Binary file not shown.
View
33 readme
@@ -0,0 +1,33 @@
+==ABOUT==
+
+This is the source bzr branch for UNetbootin.
+
+It is hosted at http://bazaar.launchpad.net/~gezakovacs/unetbootin/devel-new
+
+It was formerly hosted at http://bazaar.launchpad.net/~gezakovacs/unetbootin/devel
+
+Launchpad page is at https://launchpad.net/unetbootin
+
+Homepage is at http://lubi.sourceforge.net/unetbootin.html
+
+==COPYRIGHT==
+
+Licensed under the GNU GPL v2 and above, copyright Geza Kovacs (https://wiki.ubuntu.com/GezaKovacs and https://launchpad.net/~gezakovacs/)
+
+==USING==
+
+Thanks to UNetbootin's portable architecture, it is easy to add support for other distributions. If you would like to create UNetbootin packages for other distributions, first make sure you have installed the "bzr", "alien", "fakeroot", and "wine" utilities, which are installable through your package manager.
+
+Then add the name of the distribution, referred to here as {distroname}, into the file "targetdistros" in the checked-out source, add the netboot initrd and kernel, with the naming scheme "ubninit-{distroname}" and "ubnkern-{distroname}" into the "initkern" folder, then cd to the source directory, and run the command:
+
+make
+
+To make all distributions (list is located in targetdistros), use the command:
+
+make
+
+To make only a single distribution, use the command:
+
+make {distroname}
+
+Then, the "exe", "deb", "rpm", and "sh" packages for distribution will be created in the "dist" directory.
View
@@ -4,6 +4,16 @@ rm -r dist
mkdir dist
rm $(find . | grep "~")
locationhere=$(pwd)
+
+# Extract nsis
+
+if [ ! -e ./winbuild/nsis ]
+then
+cd winbuild
+tar -jxvf nsis.tar.bz2
+cd ..
+fi
+
export WINEPREFIX="$locationhere/winbuild/nsis"
ubnverinit=$(bzr version-info | grep revno | sed 's/revno: //')
@@ -31,7 +41,12 @@ cp $locationhere/winbuild/nsis/user.reg $locationhere/winbuild/nsis/user.bak
# Build for distros
+if [ "$@" = "" ]
+then
targetbuildoslist="$(cat targetdistros)"
+else
+targetbuildoslist="$@"
+fi
for targetbuildos in $targetbuildoslist
do
View
@@ -1 +1,21 @@
ubuntu710
+ubuntu710x64
+ubuntu704
+ubuntu704x64
+ubuntu610
+ubuntu610x64
+ubuntu606
+ubuntu606x64
+debiansid
+debianlenny
+debianetch
+fedora7
+fedora7x64
+archlinux
+archlinuxx64
+mandriva2007
+mandriva2008
+mandriva2008x64
+opensuse102
+opensuse103
+opensuse103x64
View
@@ -1,21 +0,0 @@
-ubuntu710
-ubuntu710x64
-ubuntu704
-ubuntu704x64
-ubuntu610
-ubuntu610x64
-ubuntu606
-ubuntu606x64
-debiansid
-debianlenny
-debianetch
-fedora7
-fedora7x64
-archlinux
-archlinuxx64
-mandriva2007
-mandriva2008
-mandriva2008x64
-opensuse102
-opensuse103
-opensuse103x64
View
Binary file not shown.

0 comments on commit d12bd08

Please sign in to comment.