Skip to content

Commit

Permalink
Include isolinux.bin, as the one shipped by Lenny breaks pdk
Browse files Browse the repository at this point in the history
  • Loading branch information
Free Ekanayaka authored and freeekanayaka committed Oct 15, 2008
1 parent 091cdd3 commit 92df8f0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ XS-Python-Version: current

Package: pdk
Architecture: all
Depends: ${shlibs:Depends}, ${python:Depends}, git-core (>= 1.3), python-apt, python-celementtree, python-pycurl | python2.3-pycurl, python-xml, smartpm-core, python-egenix-mxtexttools, syslinux, genisoimage, rpm
Depends: ${shlibs:Depends}, ${python:Depends}, git-core (>= 1.3), python-apt, python-celementtree, python-pycurl | python2.3-pycurl, python-xml, smartpm-core, python-egenix-mxtexttools, genisoimage, rpm
Conflicts: picax
Replaces: picax
Provides: picax
Expand Down
1 change: 1 addition & 0 deletions debian/install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
isolinux.bin usr/lib/pdk
Binary file added isolinux.bin
Binary file not shown.
7 changes: 4 additions & 3 deletions picax/modules/debian-installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,10 @@ def _install_i386(cd_path):
_download_di_base("%s/%s" % (base_url, inst_conf["cdrom_path"]),
image_path, boot_image_list)

if not os.path.exists("/usr/lib/syslinux/isolinux.bin"):
raise RuntimeError, "you must have syslinux installed"
shutil.copyfile("/usr/lib/syslinux/isolinux.bin",
isolinux_bin = "/usr/lib/pdk/isolinux.bin"
if not os.path.exists(isolinux_bin):
raise RuntimeError, "you must have isolinux installed"
shutil.copyfile(isolinux_bin,
cd_path + "/isolinux/isolinux.bin")

shutil.copyfile(image_path + "/vmlinuz",
Expand Down

0 comments on commit 92df8f0

Please sign in to comment.