dc-burn-netbsd 1.3

General Dreamcast discussion applies here. Before posting here please check the other forums in the Dreamcast section to see if your topic would fit better in those categories.

Moderators: pcwzrd13, mazonemayu

Forum rules
Please check the other forums in the Dreamcast section before posting here to see if your topic would fit better in those categories. Example: A new game/homebrew release would go in the New Releases/Homebrew/Emulation section: http://dreamcast-talk.com/forum/viewforum.php?f=5 or if you're having an issue with getting your Dreamcast to work or a game to boot it would go in the Support section: http://dreamcast-talk.com/forum/viewforum.php?f=42
abs
shadow
Posts: 7

Re: dc-burn-netbsd 1.3

Post#11 » Sun May 15, 2022 3:24 pm

Hi sl1pkn07"

sl1pkn07 wrote:Hello, i have problem when try to port the scrip `dc-burn-netbsd` to linux

in the script have a command witch i have no F idea what do

Code: Select all

dist_details="$(ls -l $kernel $(echo $opt_sets | fmt 1 | sed "s:^:$distdir/sets/:"); echo extra_opts=$opt_live)"


the command is the `fmt 1`

in linux, https://linuxcommand.org/lc3_man_pages/fmt1.html, the command is different than netbsd counterpart, runing as-sis, get a error like:

Code: Select all

fmt: cannot open '1' for reading: No such file or directory




NetBSD has the original BSD single argument shorthand for width. The portable variant would be "fmt -g 0 -w 1" - have updated the version in the repo to use this :)

sl1pkn07 wrote:so i have no idea what is the real output of the `dist_details` variable

@abs can you post the contents of the file `.dist` created from `dist_details' variable?

also the `ftp -o` command also have problems in linux (`-o` is not valid). change to tnftp, wich comes from netbsd, refule the connection to all urls, so i've change to `curl -# -o` command



Ah yes, the base ftp in NetBSD is happy with http/https a a bunch of other stuff. Happy to take a patch to use curl (though I may conditionalise it to use ftp where it knows it will work, as its nice to not have to force people to install curl on a minimal NetBSD install

sl1pkn07 wrote:also have a little changes (quoted variables for fix paths with spaces) and other little things

can you help me? i see you stored the code in github and have the issue tracker , but i prefeer posted here because in the issue tracker is for netbsd things/issues/foo and not for general support

greetings


Very happy to take fixup patches. Also happy to have here and/or on github. Its intended to be a "burn a NetBSD/dreamcast" CD, it doesn't have to be a "Burn a NetBSD/dreamcast CD on a NetBSD system" :-p

Thanks for looking at using it on Linux

David

  • Similar Topics
    Replies
    Views
    Last post

Return to “Lounge”

Who is online

Users browsing this forum: No registered users