Opened 14 years ago

Closed 9 years ago

#5416 closed enhancement (no change required)

[script attached] Download, write and make bootable nightly image

Reported by: ahwayakchih Owned by: nobody
Priority: normal Milestone: R1
Component: - General Version:
Keywords: nightly, install, bootable Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by jackburton)

I wrote small Python script, which downloads current raw image from http://haiku-files.org/raw, unzips it, writes to selected device and makes it bootable.

I rarely write anything in Python, so i bet it could be written better. Still, it works OK here (except for now it doesn't - nightly builds are broken at the moment, so nothing new to download :).

Hope it can be useful for others too. I tried it only on Ubuntu 9.10 (Karmic Koala), but it probably will run ok on any *NIX platform with Python, "unzip", "fdisk" and "dd" installed. It should be called with sudo(so it can use fdisk and dd). Can be called without any arguments to show help/instructions how to use it.

Attachments (1)

haiku-nightly-installer.zip (1.5 KB ) - added by ahwayakchih 14 years ago.
Python script which downloads, unzips, writes to device and makes nightly image bootable.

Download all attachments as: .zip

Change History (6)

by ahwayakchih, 14 years ago

Attachment: haiku-nightly-installer.zip added

Python script which downloads, unzips, writes to device and makes nightly image bootable.

comment:1 by ahwayakchih, 14 years ago

"show help/instructions hot to" should be "show help/instructions how to". Sorry for spelling mistakes :(.

comment:2 by jackburton, 14 years ago

Description: modified (diff)

comment:3 by mmadia, 14 years ago

Summary: [Nightly image] Download, write and make bootable[script attached] Download, write and make bootable nightly image
Version: R1/alpha1

Would this be better at a 3rd party application website?

comment:4 by ahwayakchih, 14 years ago

It's just a script, and kinda specific to that (i'm pretty sure it doesn't work on windows, probably not on macos). I didn't want to post it on BeBits or BeBits-like site, because i don't have constant access to haiku-compatible machine - can't test changes and/or bug reports :(. Posted it here, just in case anyone finds it useful.

Few days ago, i saw commit logs about making cd image bootable and usb compatible, so maybe this script will be kinda useless soon.

comment:5 by diver, 9 years ago

Resolution: no change required
Status: newclosed

Sounds like a 3rd party application to me too. In any case, we have anyboot images for quite a while now.

Note: See TracTickets for help on using tickets.