Commit Graph

34 Commits

Author SHA1 Message Date
fvdl
42614ed3f3 Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
tsutsui
a6223afc8f Remove "srcdir distrib/utils/x_mount" from ramdisk lists
since src/sbin/mount/Makefile no longer links fs specific routines.
2003-01-19 12:26:47 +00:00
lukem
a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
lukem
c7ad6e6337 Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX". 2002-11-18 12:39:43 +00:00
lukem
0165e1202a As parselist.awk now sets COPY-ied files explicitly to 444, ensure
executable files are 555.
2002-06-05 11:22:04 +00:00
lukem
9f96a0d08c minor whitespace & sorting cleanup 2002-05-19 13:13:39 +00:00
lukem
094e12e661 consistently use "${INSTALLBOOT} -v ..." 2002-05-14 06:21:20 +00:00
fredette
401ee1a909 The miniroot now has a .fs extension. 2002-05-08 15:32:58 +00:00
fredette
e69bcedcef Now include distrib/common/Makefile.distrib. 2002-05-07 17:15:00 +00:00
jdolecek
8b49ffb90d don't use ${OBJDIR}, using just 'install.sub' in IMAGEDEPENDS should work fine
add install.sub to CLEANFILES
2002-05-07 09:14:15 +00:00
lukem
ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00
lukem
9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
lukem
51fa6a7f42 remove stuff migrated to ../ramdisk or ../miniroot 2002-04-26 03:58:41 +00:00
lukem
e9e28d241a Migrate to a distrib framework closer to how other ports work.
Arguably this could be moved to using the distrib/miniroot
infrastructure instead.

XXX: This could benefit from being crunchgen-ed with libhack;
currently it just uses a lot of stuff out of ${DESTDIR}
2002-04-26 03:49:05 +00:00
lukem
b5ad808f0c remove non mount_* links to mount_* programs... 2002-04-26 03:38:19 +00:00
lukem
68e32c4166 move files from ../common/ that are only used in this directory to here 2002-04-26 03:29:32 +00:00
lukem
7abb10eb65 convert to be closer to the other distrib dirs:
- take advantage of Makefile.mdset
- use list instead of ramdisk.list, and remove special srcdirs for init
  and dd since they understand -DSMALLPROG
- use full-path style specfile mtree.conf instead of
  old-style specfile ../common/ramdisk.tree
- ensure IMAGEDEPENDS is in sync with list
(xxx; untested :)
2002-04-26 03:15:15 +00:00
lukem
63f4cf909a this shouldn't be necessary 2002-04-26 02:56:45 +00:00
lukem
919d3f7830 use ${RELINSTALL} instead of cp -p 2002-04-26 02:54:59 +00:00
lukem
b15f81d077 - call ${INSTALLBOOT} with -m ${MACHINE}
- use check_RELEASEDIR
2002-04-26 02:51:47 +00:00
fredette
fd6a9fbbbf Be sure to use /usr/sbin/installboot instead of /usr/mdec/installboot,
since the status of any compatability link or script is up in the air.
2002-04-23 02:27:40 +00:00
fredette
3da37c5b67 Converted sun2 to the new distrib world order. It is now
possible to do full release unprivileged cross-builds.
2002-04-22 21:17:48 +00:00
fredette
ed853533a0 Fixed a spelling mistake. 2002-04-18 21:45:37 +00:00
lukem
983821fd73 - replace image_md_post: target with IMAGE_MD_POST variable, and use
that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
2002-04-12 03:21:09 +00:00
tsutsui
ebf5fffe65 Set DBG=-Os for libhack. 2002-04-06 18:16:09 +00:00
lukem
484f8db2eb - Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
  dependencies work correctly.
- Other minor cleanups
2002-03-28 04:33:21 +00:00
fredette
a39d5cb13b Note that libhack.o depends on gethost.o, otherwise
the latter won't get built.
2002-03-26 23:09:40 +00:00
lukem
25c4cc30b2 Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines.  Add gethost.o back to Really Small media which
appears to need the space savings.
2002-03-25 07:43:39 +00:00
lukem
49b82438e7 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:14:26 +00:00
fredette
920566d233 Sync with the sun3 distrib code, and fixed many problems
to the point where this is truly useful for building
sun2 releases.
2001-12-17 20:27:39 +00:00
jmc
4d6ad24166 Convert to using ${MDSETIMAGE}.
Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
2001-10-21 23:23:19 +00:00
jmc
a37907dc27 Add MTREE?= to add Makefiles and use when running mtree 2001-10-13 06:15:15 +00:00
wiz
41df6b74a9 partiton -> partition 2001-07-26 22:47:34 +00:00
fredette
75c4ef5d8d Added sun2 distrib files. 2001-05-18 00:16:36 +00:00