267655 |
20-Jun-2014 |
gjb |
Remove svn:mergeinfo carried over from stable/9.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
267654 |
20-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
266442 |
19-May-2014 |
thomas |
MFC rev. 265926: (NANO_CONFIG): New variable containing path of config file, so that the configuration can reference additional files relative to its own location.
(NANO_MODULES): If set to "default", install all built modules.
Also update mergeinfo for past MFC of rev. 265260.
Reviewed by: imp
|
265894 |
11-May-2014 |
thomas |
MFC rev. 265260: Add appropriate quoting to allow building with a KERNCONFDIR containing spaces.
PR: kern/162736
|
237770 |
29-Jun-2012 |
avg |
MFC r235392,235394,235395: fixes and cleanups for zfs boot MFC
|
236460 |
02-Jun-2012 |
avg |
MFC r235130: zfsboottest.sh: correctly check and suggest value of vfs.root.mountfrom
|
236459 |
02-Jun-2012 |
avg |
MFC r235129: zfsboottest.sh: gracefully handle default value of bootfs property
|
230653 |
28-Jan-2012 |
eadler |
MFC r229831: - X11BASE has been deprecated for a long time and will die soon
Approved by: cperciva
|
229884 |
09-Jan-2012 |
thompsa |
MFC r226242
Fix build after TARGET_BIG_ENDIAN was nuked from orbit.
|
225736 |
23-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
222535 |
31-May-2011 |
imp |
Don't need (and can't use) -L to copy links here.
|
221877 |
14-May-2011 |
imp |
Restore BOOT2CFG, accidentally removed in r212938.
PR: 157020
|
221856 |
13-May-2011 |
imp |
If there's no package directory, don't try to install packages from it. Instead, report that 0 packages are reported.
PR: misc/140436
|
221852 |
13-May-2011 |
imp |
Add ${} around variable dereference...
Submitted by: garrett coopper
|
221851 |
13-May-2011 |
imp |
Implement -f to inhibit copying s1 partition out for speed. (-z not taken from PR, it is no longer needed since we basically always do that now)
PR: misc/151698 Submitted by: lev@
|
221850 |
13-May-2011 |
imp |
Copy symbolic links as files rather than recreating the links.
PR: misc/151697 Submitted by: lev@ MFC after: 2 weeks
|
220091 |
28-Mar-2011 |
mr |
Use ${NANO_WORLDDIR}/var/empty as copy source since it has no schg flag set. Copying over /var/empty's schg flag had unpleasant side effects (schg flag on /etc and /cfg) during nanobsd boot before.
|
219823 |
21-Mar-2011 |
mr |
Delete all GPT partitions at once. (Suggested by Andrey V. Elsukov <bu7cher@yandex.ru>) Fix amd64 merge script.
|
219799 |
20-Mar-2011 |
mr |
Add a file with some remarks for setting up a zfs boot environment
|
219798 |
20-Mar-2011 |
mr |
- Add script for preparing disks in GPT/ZFS boot environment - Add merge script for integrating amd64 slice into i386 disk image
|
219760 |
18-Mar-2011 |
mr |
- Build disk image (for USB sticks) and iso image - Change name to reflect this - Install all kernel modules - Choose image size that i386 and amd64 can be combined into one image - Mount tmpfs over /boot/zfs for zpool imports
|
218816 |
18-Feb-2011 |
delphij |
Add a helper script that detects which partition we are on and update the other.
MFC after: 1 month Obtained from: FreeNAS Sponsored by: iXsystems, Inc.
|
218528 |
10-Feb-2011 |
imp |
Add 'generic' flash images. This is for projects producing generic images that are of a certain size. The geometery is bogus, but that doesn't matter since the new packet mode onviates the need to get the geometry right.
|
216930 |
03-Jan-2011 |
imp |
Update gateworks exclusion list to match latest tree.
|
216929 |
03-Jan-2011 |
imp |
Bump the media size from approx 600MB to approx 750MB. The great hob-nailed tennis shoe of progress demands it!
Submitted by: phk
|
216928 |
03-Jan-2011 |
imp |
Put in the other half of the SRCCONF patch.
Submitted by: phk
|
216145 |
03-Dec-2010 |
imp |
o Mount the device async when we're doing the copy. o Create a sparse file instead of a fully zerod one. This trades the possibiltiy of running out of space during the build for the speed gain not having do write all those zeros...
Submitted by: n_hibma
|
216144 |
03-Dec-2010 |
imp |
_WITHOUT_SRCCONF has too much baggage. Instead, use the simpler SRCCONF=/dev/null.
|
215081 |
10-Nov-2010 |
imp |
Insulate the nanobsd build from the current system by opting out of the SRCCONF processing.
Noted by: gcopper@
|
215070 |
10-Nov-2010 |
imp |
Build make.conf when the world is not selected to build, but the kernel is.
PR: 151696 Submitted by: lev@
|
215069 |
10-Nov-2010 |
imp |
Document NANO_CFGDIR and NANO_DATADIR
Submitted by: n_hibma@
|
214955 |
07-Nov-2010 |
n_hibma |
- Set -x flag when executing customisation scripts to aid in debugging them. - Use KERNCONFDIR with KERNCONF instead of copying the kernel config into the source tree so included kernel configs work. - Put more stuff in the _.bk/_.ik log file, not just make statements. - Add the kernel config name to the pprint during kernel installation. - Add NANO_MODULES providing a list of modules to build and install.
Reviewed by: imp MFC after: 2 weeks
|
213324 |
01-Oct-2010 |
mr |
- simplify by using one build script - use label for mounting - use GENERIC kernel - create empty Pkg directory
|
212990 |
22-Sep-2010 |
imp |
Make the labels match the device name that's mounted, not just the slice they are on. When NANO_LABEL is not defined, the fstab generates entries that specify /dev/ad0s1a. When NANO_LABEL is defined, it generates /dev/usb/${NANO_LABEL}s1a. The prior code created the file system with a label of ${NANO_LABEL}s1, leading to problems on boot.
Pointy hat to: imp@
|
212938 |
20-Sep-2010 |
imp |
Support new variable NANO_LABEL. When set to a non-null string, nanobsd will build a system that uses this label (via /dev/ufs/${NANO_LABEL}sX) in preference to NANO_DRIVE (well, it forces NANO_DRIVE to be ufs/${NANO_LABEL}). This allows images that will boot off usb stick or CF card easily well.
There is no change if you don't set this variable.
|
212169 |
03-Sep-2010 |
imp |
Allow / in the NANO_DEVICE
PR: 149729 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
|
209225 |
16-Jun-2010 |
imp |
Allow boot.config to have different values than just -h.
Submitted by: bsdrp by way of freenas and olivier cochard-labbe MFC after: 3 days
|
209210 |
15-Jun-2010 |
imp |
Allow population of /cfg and /data. Begin the move to making all slice creation overrideable too, but there's a few problems doing that for the duplicated partitions (s1 and s2), so just comment that it needs work.
MFC after: 3 days
|
209209 |
15-Jun-2010 |
imp |
Create a make.conf. not needed for runtime, but some ports want to spam it at compile or install time.
MFC after: 3 days
|
209207 |
15-Jun-2010 |
imp |
make these convenience functions more convenient by accepting all args, not just the first. makes mechanical conversion of old style more forgiving.
MFC after: 3 days
|
207436 |
30-Apr-2010 |
philip |
Fix typo in usage message. Add -n to the list of valid arguments.
MFC after: 1 day
|
206276 |
06-Apr-2010 |
imp |
Fix comment about NANO_ARCH. It can be set now. Also add a warning about how it confuses TARGET and TARGET_ARCH and the need to separate the two out into independent variables.
|
205994 |
31-Mar-2010 |
imp |
Two fixes:
(1) We don't need a custom install_kernel. We can install without symbols by adding INSTALL_NODEBUG (which likely should be WITHOUT_KERNEL_SYMBOLS_FILE, or something shorter) to CONF_INSTALL (2) for make buildenv stage, use NANO_MAKE_CONF_BUILD rather than the non-existant NANO_MAKE_CONF.
MFC after: 7 days
|
205980 |
31-Mar-2010 |
imp |
Stop hard coding i386 as the arch for the build. Instead, default to the processor we're running on. Also, supply amd64 version of create_diskimage that's the same as i386's.
# didn't fix the confusion between using the processor for this and using # the machine (which would be more appropriate). NANO_ARCH smashes the two # together right now.
MFC after: 7 days
|
205601 |
24-Mar-2010 |
ed |
Prune empty directories.
|
205584 |
24-Mar-2010 |
phk |
Use gpart(8) to set the active boot partition.
|
199536 |
19-Nov-2009 |
mr |
Add nanobsd example for the PC Engines ALIX board (serial console).
|
199251 |
13-Nov-2009 |
ed |
Convert {small prefix}BSD to TERM=xterm as well.
Clean up the ttys files shipped with PicoBSD, NanoBSD and TinyBSD. While there, it seems one of them still had references to sio(4). Make it in sync with what we do in the base system.
|
199243 |
13-Nov-2009 |
ed |
Switch the default terminal emulation style to xterm for most platforms.
Right now syscons(4) uses a cons25-style terminal emulator. The disadvantages of that are:
- Little compatibility with embedded devices with serial interfaces. - Bad bandwidth efficiency, mainly because of the lack of scrolling regions. - A very hard transition path to support for modern character sets like UTF-8.
Our terminal emulation library, libteken, has been supporting xterm-style terminal emulation for months, so flip the switch and make everyone use an xterm-style console driver.
I still have to enable this on i386. Right now pc98 and i386 share the same /etc/ttys file. I'm not going to switch pc98, because it uses its own Kanji-capable cons25 emulator.
IMPORTANT: What to do if things go wrong (i.e. graphical artifacts):
- Run the application inside script(1), try to reduce the problem and send me the log file. - In the mean time, you can run `vidcontrol -T cons25' and `export TERM=cons25' so you can run applications the same way you did before. You can also build your kernel with `options TEKEN_CONS25' to make all virtual terminals use the cons25 emulator by default.
Discussed on: current@
|
197542 |
27-Sep-2009 |
simon |
- When we run our trap cleanup handler, echo that we are running this handler to make it more clear why we are 'suddenly' running df, umount, and mdconfig. - Remove trap handler again after we have unconfigured the memory device etc. Before we could end up running the trap handler if a later stage failed, which was a bit confusing and not really useful.
MFC after: 2 weeks
|
195618 |
11-Jul-2009 |
rpaulo |
Implementation of the upcoming Wireless Mesh standard, 802.11s, on the net80211 wireless stack. This work is based on the March 2009 D3.0 draft standard. This standard is expected to become final next year. This includes two main net80211 modules, ieee80211_mesh.c which deals with peer link management, link metric calculation, routing table control and mesh configuration and ieee80211_hwmp.c which deals with the actually routing process on the mesh network. HWMP is the mandatory routing protocol on by the mesh standard, but others, such as RA-OLSR, can be implemented.
Authentication and encryption are not implemented.
There are several scripts under tools/tools/net80211/scripts that can be used to test different mesh network topologies and they also teach you how to setup a mesh vap (for the impatient: ifconfig wlan0 create wlandev ... wlanmode mesh).
A new build option is available: IEEE80211_SUPPORT_MESH and it's enabled by default on GENERIC kernels for i386, amd64, sparc64 and pc98.
Drivers that support mesh networks right now are: ath, ral and mwl.
More information at: http://wiki.freebsd.org/WifiMesh
Please note that this work is experimental. Also, please note that bridging a mesh vap with another network interface is not yet supported.
Many thanks to the FreeBSD Foundation for sponsoring this project and to Sam Leffler for his support. Also, I would like to thank Gateworks Corporation for sending me a Cambria board which was used during the development of this project.
Reviewed by: sam Approved by: re (kensmith) Obtained from: projects/mesh11s
|
194958 |
25-Jun-2009 |
n_hibma |
- Make pprint print through fd 3, so it can be used in customisation functions to print something to the screen. - Prefix each line with the running time (bikeshed).
Submitted by: Rick van der Zwet (Wireless Leiden)
|
194440 |
18-Jun-2009 |
n_hibma |
- Don't hard code _.disk.full. Use the variable. - _.bk should be created in MAKEOBJDIRPREFIX as well - Remove a misplaced and unnecessary message.
|
194437 |
18-Jun-2009 |
n_hibma |
Reverse some stuff I accidentally committed in the previous commit:
- creation of sparse files to speed up the build process. This was discussed with phk 2 years ago and he disagreed with this change. - handling of negative data partition sizes.
Can I have the ... green pointy hat, please?
|
194431 |
18-Jun-2009 |
n_hibma |
Allow building world into a separate dir (for reuse in multiple images): - buildworld and buildkernel are built into MAKEOBJDIRPREFIX - installworld and installkernel are performed on NANO_OBJ.
No change of functionality if MAKEOBJDIRPREFIX is not set. If it is sea,t clean_world deletes NANO_OBJ instead of NANO_WORLDDIR. By starting nanobsd.sh with the -b option the existing world can be reused to build a new world reducing time and disk space considerably.
While there: - Fix two cases where (in comments) MAKEOBJDIRPREFIX should have been NANO_DISKIMGDIR. - Simplify an 'if (not wrong); then true; else action; fi' into 'if wrong; then action; fi'. 'if ! false; then echo hello; fi' produces hello.
Note: Make sure you use NANO_OBJ were you use MAKEOBJDIRPREFIX now in your nanobsd.conf files if you want to split out.
|
194380 |
17-Jun-2009 |
sam |
update usb config; the old stack is gone
|
194332 |
17-Jun-2009 |
edwin |
When copy+paste goes wrong... Remove duplicate "expr".
Submitted by: danfe@
|
194310 |
16-Jun-2009 |
edwin |
iiin -> in
Submitted by: "N.J. Mann" <njm@njm.me.uk>
|
194288 |
16-Jun-2009 |
edwin |
Fix NanoBSD when the data partition size is defined as a negative number.
It is possible to ask nanobsd.sh to create a 'data' partition, separate from the system or configuration partitions, and furthermore, by specifying a negative value for its size to request that it use all space unused by those partitions for its own size.
Because the two lines of code that calculate how much space is available for this data partition are written in perl-like syntax, the awk code that does the processing performs the calculation incorrectly. [note - this was already fixed by r174936]
Furthermore, a comparison later down fails to newfs the partition when the size is negative.
PR: misc/127759 Submitted by: Cyrus Rahman <crahman@gmail.com> MFC after: 1 week
|
194286 |
16-Jun-2009 |
edwin |
Support for 64 Mb Kodak flash device.
PR: misc/115025 Submitted by: Michael W Lucas <mwlucas@freebsd.org> MFC after: 1 week
|
194285 |
16-Jun-2009 |
edwin |
Add support for 256MB Hitachi CF card and 256MB Silicon Systems CF card
This patch against RELENG_6 adds two more entries to src/tools/tools/nanobsd/FlashDevice.sub - one for a 256MB Hitachi CF card and one for a 256MB Silicon Systems CF card.
Both entries have been verified to work with a Soekris net4801.
PR: kern/101228 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> MFC after: 1 week
|
192662 |
23-May-2009 |
sam |
add npe tools
|
191517 |
26-Apr-2009 |
ed |
Remove empty directories from the HEAD.
Discussed with: developers, imp
|
191275 |
19-Apr-2009 |
phk |
A script for plucking packages and their runtime dependencies for nanobsd images.
|
191246 |
18-Apr-2009 |
sam |
allow NANO_CFGDIR to be overridden
|
191024 |
13-Apr-2009 |
sam |
switch usb setup to usb2; it still doesn't work right but the old stuff is now removed and we want this to build
|
191023 |
13-Apr-2009 |
sam |
catch up with removal of ATH_SUPPORT_TDMA
|
190100 |
19-Mar-2009 |
thompsa |
Remove the uscanner(4) driver, this follows the removal of the kernel scanner driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and contained no logic, the default interface is now libusb (supported by sane).
Reviewed by: HPS
|
189118 |
27-Feb-2009 |
sam |
really enable usb1
|
189116 |
27-Feb-2009 |
sam |
o enable PREEMPTION o turn off a bunch of stuff that's unlikely to be used o add flash support o use mii instead of miibus to save space o enable tdma support o configure legacy usb as usb2 works only on 2348 w/ 64M configs
|
189115 |
27-Feb-2009 |
sam |
o add -HEAD to avoid build conflicts o switch to a more common flash config
|
189114 |
27-Feb-2009 |
sam |
add -HEAD to avoid build conflicts
|
189085 |
26-Feb-2009 |
sam |
use mii instead of miibus to not pull in useless phy code
|
189084 |
26-Feb-2009 |
sam |
add updatep[12] that grok the partitioning we use and use gpart instead of boot0cfg to switch the active partition
|
188853 |
20-Feb-2009 |
mr |
Delete files which serve no purpose in this environment.
Inspired by: simon@
|
188482 |
11-Feb-2009 |
mr |
Add files to build i386/amd64 bootable rescue ISO images using the nanobsd framework.
|
186979 |
09-Jan-2009 |
sam |
example configurations for cross-building to Gateworks 2348 and 2358 boards; probably needs cleanups to be less specific to my needs/uses
MFC after: 2 weeks
|
186181 |
16-Dec-2008 |
phk |
Make it possible to cherry-pick packages out of a directory.
|
184048 |
19-Oct-2008 |
sam |
add -n option to suppress clearing the build tree and add -DNO_CLEAN to buildworld and/or buildkernel
|
183727 |
09-Oct-2008 |
n_hibma |
Avoid failing if the directory already exists (when restarting at customize).
MFC after: 2 days
|
183315 |
23-Sep-2008 |
simon |
In cust_install_files() we ignore CVS directories. In a similar way now also ignore .svn directories.
|
183314 |
23-Sep-2008 |
simon |
- Change all "echo #..." into using a progress print function to make it possible to make NanoBSD output more quite or verbose. The default output should remain mostly unchanged. [1] - Add missing shift for -i. - Clean up usage() so it's now (mostly) sorted alphabetically. - Make command line argument handling more consistent in the code and remove redundant semicolons.
Reviwed by: phk [1]
|
183284 |
23-Sep-2008 |
bms |
* Add USB boot support. * Allow the image name to be renamed via NANO_IMGNAME. * Propagate TARGET_ARCH into src top level make targets explicitly to support cross-building. * Increase the default size of NanoBSD media from 488MB to 584MB to accomodate a -CURRENT world.
Reviewed by: phk
|
183279 |
22-Sep-2008 |
bms |
Mark the first slice of a NanoBSD image 'active' by default. This fixes USB boot (not yet merged to HEAD) with 3 flavours of BIOS I've seen.
Approved by: phk
|
183237 |
21-Sep-2008 |
simon |
Include $NANO_NAME in the completed message. This is nice if you are building multiple NanoBSD images at once to keep track of what is running and what isn't.
|
182845 |
07-Sep-2008 |
simon |
Change space -> tab in printed usage output to make it look consistent.
|
182690 |
02-Sep-2008 |
thomas |
Fix typo in comment.
|
181751 |
15-Aug-2008 |
phk |
Accept tty[ud]0 for console device
|
181631 |
12-Aug-2008 |
antoine |
Use expr -e instead of expr to compute NANO_MEDIASIZE for Flash devices larger than 2GB to prevent an overflow [1]. Make case-insensitive comparison work for siliconsystems, soekris and transcend devices.
PR: conf/126386 [1] Submitted by: Mark A [1] MFC after: 1 month
|
181481 |
09-Aug-2008 |
sam |
fix syntax
|
181461 |
09-Aug-2008 |
phk |
Add late customize hook
Submitted by: Patrick M. Hausen Sat on for far too long: phk
|
181460 |
09-Aug-2008 |
phk |
Add -i option to supress image building.
Submitted by: keramida
|
181459 |
09-Aug-2008 |
phk |
Track /etc/ttys change to uart(4)
|
181083 |
31-Jul-2008 |
sam |
unset TARGET_CPUTYPE and TARGET_BIG_ENDIAN when building the kernel to silence compiler complaints when cross-building
Reviewed by: phk MFC after: 2 weeks
|
178369 |
21-Apr-2008 |
phk |
Add a small script that will examine all files which exist on /cfg and if they are different in /etc, copy them to /cfg.
Submitted by: mat
|
175258 |
12-Jan-2008 |
simon |
- Add support for using swap backed md(4) devices for building the disk image. In some cases this can be a significant speed-up, if most of the image can be kept in RAM while being populated.
On the 2GB image I'm currently working with, the build time, excluding buildworld/buildkernel, goes from ~17 minutes to ~6 minutes.
This is not enabled by default, as it might have the opposite effect on low-memory systems.
- During the generation of the image file be a bit more verbose in the log file so it is possible to see what's being done.
- Add a NANO_DISKIMGDIR variable which makes it possibly to place the final images somewhere other than ${MAKEOBJDIRPREFIX}. The default value for NANO_DISKIMGDIR is $MAKEOBJDIRPREFIX.
Go for it: phk
|
174936 |
27-Dec-2007 |
simon |
- Fix calculation of data slice size when NANO_DATASIZE=-1.
Due to a typo, setting NANO_DATASIZE=-1 resulted in the data slice being the same size as entire image instead of the size of the remaining space on the image.
- Fix detection of overcommit of the slices.
This fix mainly result in a nicer error than when newfs etc. tries to write beyond the end of the disk image.
MFC after: 2 weeks X-MFC after: RELENG_7 is open again
|
171986 |
26-Aug-2007 |
phk |
Add option to not fill second code image, this makes the full disk image compress much better.
Respect pkg_add's internal 200 package limitation.
Approved by: re (bmah) Spelling fixes by: bmah
|
170607 |
12-Jun-2007 |
phk |
Add cust_pkg() which iteratively tries to install packages.
Move /usr/local/etc to /etc/local so that installed packages can be frobbed.
Use a more compatible 512MB card geometry.
|
170324 |
05-Jun-2007 |
phk |
Default to R/O root filesystem
|
170322 |
05-Jun-2007 |
phk |
Fix the fstab on the second image, just like updatep2.sh does.
|
168894 |
20-Apr-2007 |
adrian |
NanoBSD modifications:
* Break out the boot0 loader selection into a variable - NANO_BOOTLOADER - so people like me with VGA consoles can override the default (which is to use boot0sio) * Put the boot0 configuration options in NANO_BOOT0CFG in case you want to override the defaults. * Modify nanobsd.8 to reflect the changes and hint the console default is serial.
MFC after: 2 weeks
|
164660 |
27-Nov-2006 |
n_hibma |
Shorten the KERNCONF filename to the basename in the install target as well as in the build target, although it is not used in this target.
|
164331 |
16-Nov-2006 |
benno |
Add the Transcend 2GB card specs.
|
163922 |
02-Nov-2006 |
n_hibma |
Only use the filename part of the kernel configuration file as an argument to KERNCONF after the file has been copied to the sys/${ARCH}/conf directory. This allows the use of one kernel config file for multiple images. E.g.:
NANO_KERNEL=../../../../software/nanobsd/default/SOEKRIS
MFC: after 6.2
|
161341 |
15-Aug-2006 |
simon |
Move the setup of "diskless" /etc magic files from install_etc() to a separate function which is called right after install_etc(). This makes it simpler to (ab)use nanobsd.sh as a framework to build more normal FreeBSD images where a normal /etc is used, since setup_nanobsd_etc() can just be redefined.
OK'ed in principle by: phk MFC after: 1 week
|
160783 |
28-Jul-2006 |
thomas |
'make distribution' must be run from src, not src/etc, so that the proper set of /usr/share/mk/* is available. This is necessary to build a 7.x NanoBSD image on a 6.x host.
Reviewed by: phk
|
160725 |
26-Jul-2006 |
simon |
Add Memory Corp 512MB CF Flash.
MFC after: 3 days
|
160388 |
15-Jul-2006 |
thomas |
When creating the NanoBSD disk image, install boot blocks from the newly-built world, in preference to those from the host system.
Reviewed by: phk
|
160328 |
13-Jul-2006 |
phk |
Create the diskless magic files in /etc during the install_etc() step instead of setup_nanobsd(), because this gives customize tasks a chance to fiddle the details.
Inspired & tested by: Jordan Coleman <jordan@JordanColeman.com>
|
157835 |
18-Apr-2006 |
ru |
Fix an obvious bug.
Submitted by: Alex Lyashkov <umka@sevcity.net>
|
157149 |
26-Mar-2006 |
simon |
Use tr(1) to lowercase strings in a way which works with all locales.
Approved by: cperciva (mentor)
|
156496 |
09-Mar-2006 |
phk |
In addition to -b (suppress builds) add -k (suppress kernel build) and -w (suppress world).
|
154466 |
17-Jan-2006 |
phk |
Add two new variables:
# Size of the /etc ramdisk in 512 bytes sectors NANO_RAM_ETCSIZE=10240
# Size of the /tmp+/var ramdisk in 512 bytes sectors NANO_RAM_TMPVARSIZE=10240
And a last_orders() shell function which can be redefined to copy finished images away, order peanuts or whatever else is appropriate
|
154069 |
06-Jan-2006 |
phk |
Add missing ' and '
Submitted by: simon
|
154068 |
06-Jan-2006 |
phk |
Make this more readable and add more devices.
Partially from: mich@FreeBSD.org
|
152458 |
15-Nov-2005 |
phk |
Add geometry of SiliconSystems 4GB CF card
|
150717 |
29-Sep-2005 |
phk |
Fix a bug in disk geometry calculation.
Fix NANO_TOOLS usage in FlashDevice()
|
150572 |
26-Sep-2005 |
phk |
This one goes as well.
|
150571 |
26-Sep-2005 |
phk |
Remove the old Makefile based nanobsd build method, the new shell script based is far better and the only one supported from now on.
|
150553 |
25-Sep-2005 |
phk |
Correct filesystem mountpoint
|
150511 |
24-Sep-2005 |
simon |
Make it possible to set the NANO_TOOLS variable to a directory outside of $NANO_SRC, which can e.g. be used if the nanobsd scripts are not in the source tree being built.
Improved by: phk Approved by: phk
|
150416 |
21-Sep-2005 |
philip |
Fix typo. MAILWRAPER -> MAILWRAPPER.
Spotted by: Andrea Campi <andrea+freebsd_cvs_all -at- webcom.it> Pointy hat to: philip
|
150412 |
21-Sep-2005 |
phk |
Update these scripts to be more userfriendly and usage safe.
|
150367 |
20-Sep-2005 |
phk |
Add a convenience function to set NANO_MEDIASIZE, NANO_HEADS and NANO_SECTS for commonly used flash devices by
FlashDevice Sandisk 256MB
in the config file.
|
150366 |
20-Sep-2005 |
phk |
Create an /etc/nanobsd.conf in the built image and put the disk drive name there for scripts to use.
Create a noauto fstab entry for the configuration partition (/cfg).
Add NANO_TOOLS env-var to point to the nanobsd sources relative to NANO_SRC.
Add -h argument which prints a usage.
Add -b argument which skips build steps and goes directly to install steps.
Complain about extraneous arguments, it's usually a forgotten '-c'
Add convenience function to register customization function.
Add some sample customization functions: cust_comconsole cust_allow_ssh_root
Rename setup_diskless() to setup_nanobsd(), it makes more sense.
Add various comments etc.
|
150343 |
19-Sep-2005 |
phk |
Dump the environment for reference. Add a function to add customization commands.
|
150328 |
19-Sep-2005 |
phk |
Create fstab before linking stuff into /conf
|
150321 |
19-Sep-2005 |
phk |
Missing ')'
|
149535 |
27-Aug-2005 |
simon |
Correct a comment to match the configuration parameter it describes.
MFC after: 3 days
|
149120 |
16-Aug-2005 |
phk |
Increase flexibility in disk-layout
|
149103 |
15-Aug-2005 |
phk |
Put more stuff in logfiles instead of stdout
|
149082 |
15-Aug-2005 |
phk |
Cleanup and polishing.
|
149073 |
15-Aug-2005 |
phk |
After much experimentation, settle for the simplest model for customize scripts.
|
149014 |
13-Aug-2005 |
phk |
Prune empty directories in /usr
Move argv parsing.
|
148648 |
02-Aug-2005 |
phk |
polish various bits.
|
148647 |
02-Aug-2005 |
phk |
Ignore CVS directories
|
148422 |
26-Jul-2005 |
phk |
Add the first snapshot at rewriting the nanobsd build to be a shellscript.
The overall idea is to get a single build script which will not need editing, but instead overrides and changes happen by config files passed as arguments.
|
148378 |
25-Jul-2005 |
philip |
Add some more NO_FOO options. I'm not sure if they're correctly sorted in the size-scheme. Also add commented NO_BIND_FOO options for people who want named but not all of the bloat it likes to include by default.
While here, make a comment about BOOT_COMCONSOLE_SPEED.
|
148377 |
25-Jul-2005 |
philip |
Add fstab entries for ALTROOTSLICE and CFGSLICE, allowing us to do away with most of the hardcoding of device names in installed convenience scripts.
Provide a new script (root/updatep) to easily update the ALTROOTSLICE. It does the same as updatep1/updatep2 without hardcoded device names. If noone protests, I'd like to get rid of updatep1/updatep2 at some point.
As an extra bonus: turn on the error led while updating (on hardware with a led).
|
147985 |
14-Jul-2005 |
philip |
Fix a minor buglet making the code match the comment. Fractional cylinders confuse fdisk and break the NanoBSD build.
This is an MT5/6 candidate.
MFC after: 3 days
|
146406 |
19-May-2005 |
phk |
Make the path to make.conf a parameter which can be overridden.
NB: you have to use absolute path!
|
146405 |
19-May-2005 |
phk |
Save space by using -b 4096 -f 512 for newfs. Retain -i 8192 to avoid wasting inodes.
|
146404 |
19-May-2005 |
phk |
Run the "files" customization script
|
146402 |
19-May-2005 |
phk |
Add some runtime admin/tool scripts
|
146399 |
19-May-2005 |
phk |
Add a couple of basic customization scripts.
|
146386 |
19-May-2005 |
phk |
Explain the magic
|
145282 |
19-Apr-2005 |
phk |
Remove redundant line, add comment about termcap
|
145033 |
13-Apr-2005 |
phk |
sort and expand the prunelist in a more or less generally sensibly order. Put some strategic comments in about how much storage is necessary and a longer explanation on the top.
It is now pretty trivial to put nanoBSD on as little as a 64MB CF card.
Sponsored by: Soekris Engineering.
|
145032 |
13-Apr-2005 |
phk |
Introduce NANOBSD_PRUNE which can be used to zap out bits we don't want to carry forward.
|
145031 |
13-Apr-2005 |
phk |
Use df -i
|
145003 |
13-Apr-2005 |
phk |
Add NO_DICT handle. Saves almost 3.5 MB installed.
|
143763 |
17-Mar-2005 |
phk |
I keep forgetting that I wanted the customize logs collected too.
Reminded by: Lennart Sorth, Andrea Campi and others.
|
143473 |
12-Mar-2005 |
phk |
Add NO_GPIB
|
143472 |
12-Mar-2005 |
phk |
DTRT with /var so that any packages installed are correctly recorded.
|
143471 |
12-Mar-2005 |
phk |
Enable packet mode in boot0, this makes it unimportant if the geometry is 100% correct on most hardware.
|
141053 |
30-Jan-2005 |
phk |
Use awk to correctly calculate partioning, round things off to cylinders and reserve first track etc.
|
139119 |
21-Dec-2004 |
ru |
NOHTML -> NO_HTML
|
139118 |
21-Dec-2004 |
ru |
Overhaul ppp(8) build options so they are safe to use in /etc/make.conf:
NOALIAS -> retired (support provided by PPP_NO_NAT) NOATM -> PPP_NO_ATM (also subject to NO_ATM global) NODES -> PPP_NO_DES (support was broken, now recovered) NOI4B -> PPP_NO_I4B (also subject to NO_I4B global) NOKLDLOAD -> PPP_NO_KLDLOAD NONAT -> PPP_NO_NAT NONETGRAPH -> PPP_NO_NETGRAPH NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global) NORADIUS -> PPP_NO_RADIUS NOSUID -> retired (support provided by PPP_NO_SUID) PPP_NOSUID -> PPP_NO_SUID
|
139115 |
21-Dec-2004 |
ru |
NOINET6 -> NO_INET6
|
139114 |
21-Dec-2004 |
ru |
NOGAMES -> NO_GAMES
|
139106 |
21-Dec-2004 |
ru |
NODOCCOMPRESS -> NO_DOCCOMPRESS NOINFO -> NO_INFO NOINFOCOMPRESS -> NO_INFOCOMPRESS NOLINT -> NO_LINT NOPIC -> NO_PIC NOPROFILE -> NO_PROFILE
|
139105 |
21-Dec-2004 |
ru |
NOATM -> NO_ATM
|
139104 |
21-Dec-2004 |
ru |
NOLIBC_R -> NO_LIBC_R NOLIBPTHREAD -> NO_LIBPTHREAD NOLIBTHR -> NO_LIBTHR
|
139103 |
21-Dec-2004 |
ru |
Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by: core
|
139017 |
18-Dec-2004 |
phk |
Change terminal state, not terminal type
|
138161 |
28-Nov-2004 |
phk |
Change CUSTOMIZE example.
|
138160 |
28-Nov-2004 |
phk |
Make it possible to specify a list of customize scripts.
Look for them in ./Customize first, then relative to . and then absolute.
|
138159 |
28-Nov-2004 |
phk |
Add various customize scripts.
|
138158 |
28-Nov-2004 |
phk |
Hardlink the generated /etc/fstab to /conf/base/etc/fstab
|
138152 |
28-Nov-2004 |
phk |
don't mv(1) nonexistent directories.
|
138151 |
28-Nov-2004 |
phk |
Reduce -j12 to -j3
|
137675 |
13-Nov-2004 |
bz |
Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set. If turned on no NIS support and related programs will be built.
Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
|
137201 |
04-Nov-2004 |
phk |
Remove references to NO_VINUM
|
136955 |
25-Oct-2004 |
blackend |
Typo: s/Exampes/Examples
|
136912 |
24-Oct-2004 |
ru |
For variables that are only checked with defined(), don't provide any fake value.
While here, sort NO*'s in dictionary order to ease searching by a human being.
|
136768 |
22-Oct-2004 |
blackend |
Add NO_BLUETOOTH and NO_AUTHPF variables. [1] While I'm there use lowercase "yes" for consistency.
Approved by: phk [1]
|
136766 |
22-Oct-2004 |
blackend |
Sort NO* variables.
Approved by: phk
|
136748 |
21-Oct-2004 |
blackend |
Remove NOLIBPTHREAD=yes since BIND related binaries (dig etc.) require LIBPTHREAD.
Approved by: phk
|
134133 |
21-Aug-2004 |
thomas |
Fix positional parameter reference to ${10}. Fix target location for generation of fstab.
PR: bin/70795
|
133900 |
16-Aug-2004 |
thomas |
Example configuration files for customize.sh.
Approved by: re (scottl)
|
133895 |
16-Aug-2004 |
thomas |
Add documentation of the newly-added user-configurable Makefile knobs.
Approved by: re (scottl)
|
133891 |
16-Aug-2004 |
thomas |
Add example customization script, to be used through CUSTOMIZE Makefile knob.
Approved by: re (scottl)
|
133890 |
16-Aug-2004 |
thomas |
Properly identify the root filesystem to be used in /etc/fstab in each slice of the flash card, ensuring that the loader will mount the root fs from the booted slice by default.
Allow usage of FFS volume labels instead of hardcoded device names through WITH_GEOM_VOL Makefile knob.
Approved by: re (scottl)
|
133325 |
08-Aug-2004 |
thomas |
Include the nanoBSD make.conf in the top-level nanoBSD Makefile, so all configuration knobs (both system settings and nanoBSD-specific ones) can be tuned by modifying a single file. Move KERNCONF default value to make.conf.
Attempt to resolve CFGMASTER like CUSTOMIZE, first relative to ${.CURDIR}, then as an absolute path.
Allow optional additional arguments to be passed to the CUSTOMIZE script.
|
129822 |
28-May-2004 |
thomas |
Add trailing backslash missing from previous checkin.
|
129821 |
28-May-2004 |
thomas |
Support for optional initialization of the configuration slice by specifying the name of a directory to be copied there in Makefile variable CFGMASTER.
|
129819 |
28-May-2004 |
thomas |
Look up ${CUSTOMIZE} in ${.CURDIR} first, and then as a path name by itself, assuming in the latter case that it is an absolute path name.
|
128847 |
02-May-2004 |
thomas |
Be consistent in using variable names instead of parameter numbers.
|
128687 |
27-Apr-2004 |
phk |
More POLA handling of CUSTOMIZE variable
|
128675 |
27-Apr-2004 |
thomas |
Take boot0sio from the newly-built world, both for consistency's sake and to cater for host systems where it is not present.
Reviewed by: phk
|
127530 |
28-Mar-2004 |
phk |
Tell fdisk(8) about our geometry.
Strictly speaking this is unnecessary, but it allows nanobsd to work on systems from before the -x and -y arguments to mdconfig(8) worked for vnode backing.
Submitted by: "Oivind H. Danielsen" <oivind.danielsen@kopek.net>
|
126934 |
13-Mar-2004 |
phk |
TMPDIR is magic, use TMPMNT
Spotted by: harold barker <hvb@fs0.sm.dsms.com>
|
126856 |
11-Mar-2004 |
simon |
- Use variable names instead of numbers for the script arguments to improve readability. - Use mktemp to create the temporary files and directory. - Mount temporary md(4) backed file system on a temporary directory, instead of /mnt.
Approved by: phk
|
126807 |
10-Mar-2004 |
phk |
We don't retain 'x' bits in CVS so explicity use sh to run script.
|
126805 |
10-Mar-2004 |
phk |
Add first cut at "nanobsd":
Nanobsd should make it very simple for people to create (CF-)disk images for embedded us of FreeBSD.
Currently only works for 256MB disks. More agrressive shaving of the build image can reduce that much further.
|