|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Autoselect siteXX.tgz
Hi all,
Is it possible to get siteXX.tgz selected by default? As it is right now I have to select siteXX.tgz during installation, but I want it marked for installation by default. |
|
|||
Quote:
Code:
for _set in base etc comp man site; do [[ $MODE == upgrade && ( $_set == etc || $_set == xetc ) ]] && continue THESETS="$THESETS ${_set}${VERSION}.tgz" isin $_set site && continue DEFAULTSETS="$DEFAULTSETS ${_set}${VERSION}.tgz" done |
|
|||
Managed it solve it. It might not be pretty. I added site to the following line in install.sub.
Code:
SANESETS="${SANESETS:-bsd} base${VERSION}.tgz etc${VERSION}.tgz site${VERSION}.tgz" |
|
||||
I haven't had time to review your edits, but I will state that if you wish to share them with the project, you should get used to sharing your recommended changes in the form of patches -- specifically unified diff(1) output ($ diff -u ...).
In particular, when used with a CVS working directory, they will show the revision number you used as source and will show the context of your change against the underlying source. For example, here's how I made this proposed patch to a man page that I sent to misc@ two days ago: Code:
$ cd /usr/src/sbin/nfsd $ vi nfsd.8 $ cvs diff -u nfsd.8 > /tmp/my.wonderful.patch.I.hope.they.accept |
|
|||
If the changes that i made are worth adding, then I will commit them, but I have no idea how I add it to the repository
|
|
|||
Quote:
As an aside, the default install contains a ~/.cvsrc with the proper flags already there, so you can just issue cvs diff and it'll be fine. |
|
||||
Thanks for the correction! Now it's my turn.
/etc/skel/dot.cvsrc wasn't added to the tree until March 2013, so accounts created before then won't have a preloaded $HOME/.cvsrc file. Last edited by jggimi; 17th July 2014 at 12:52 AM. Reason: I can't type two lines without a typo. It's impossible. |
|
|||
Quote:
(Yes I know this doesn't account for upgrades, that's why I mentioned the full flags.) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
siteXX.tgz and install.site | Oko | OpenBSD Installation and Upgrading | 6 | 2nd March 2011 12:50 AM |