This project is a fork of the unleashed.git project. If you have that one already cloned locally, you can use
git clone --reference /path/to/your/unleashed.git/incarnation mirror_URL
to save bandwidth during cloning.
 
descriptionnone
ownerlotheac@iki.fi
last changeWed, 22 May 2019 20:43:13 +0000 (22 20:43 +0000)
content tags
add:
README.md

How to build Unleashed

Install Unleashed

Building Unleashed requires Unleashed, so first, download and install the latest snapshot from https://www.unleashed-os.org/snapshots/latest/

Get the source

Clone this repository:

$ git clone git://repo.or.cz/unleashed.git
$ cd unleashed

Build

Objects generated during the build are stored in /usr/obj, so create it and allow the build user to write to it.

# zfs create -o mountpoint=/usr/obj rpool/obj && install -m 1777 -d /usr/obj

Afterward, you can use make normally.

$ make -j32 build            # adjust -j<num> as necessary for your hardware

make build installs the built artifacts into proto/root_i386, and generates packages into the packages/nightly/repo.redist repository.

NOTE: objects generated by the legacy build system dmake in the usr/src directories are stored directly inside the directories, so it is currently not enough to clear /usr/obj to get a clean workspace. Instead use:

$ make -j32 cleandir         # removes objects, proto/root_i386 and packages/i386/nightly/repo.redist

Single component build

To build a component that is using the new build system (e.g., cat(1)), change into the source directory and run make. For example:

$ cd bin/cat
$ make
# make install

The component will be linked against the running system and installed to /. To install to an alternate directory (eg. proto/root_i386), use make install DESTDIR=path.

To build a component under the legacy (dmake) build system, ie. things under usr/src, first complete a full build so that prerequisite objects for the component are made, and then:

$ ./tools/bldenv.sh
$ cd usr/src/cmd/w
$ dmake install

The component will be built against the "proto area" in proto/root_i386 and installed there.

shortlog
2019-05-22 Lauri TirkkonenMerge remote-tracking branch 'origin/master'master
2019-05-22 Lauri Tirkkonenmdb: don't build 32-bit libpython
2019-05-21 Lauri Tirkkoneninstall 64-bit pylibbe only & into path without /64...
2019-05-20 Josef 'Jeff... remove legacy accounting support
2019-05-20 Josef 'Jeff... Move /var/svc/log to /var/log/svc
2019-05-20 Josef 'Jeff... Move everything from /var/adm to /var/log
2019-05-20 Josef 'Jeff... Remove /usr/adm symlink
2019-05-20 Josef 'Jeff... Remove /etc/[uw]tmpx symlinks
2019-05-20 Josef 'Jeff... Remove /var/adm/log directory
2019-05-20 Josef 'Jeff... move filesave.log from /var/adm/log to /var/log
2019-05-20 Josef 'Jeff... Remove /etc/log symlink
2019-05-20 Josef 'Jeff... Merge illumos-gate
2019-05-20 Josef 'Jeff... Merge illumos-gate
2019-05-20 Josef 'Jeff... Merge illumos-gate
2019-05-19 Lauri Tirkkonencrle: display correct default lib path
2019-05-19 Lauri Tirkkonenrtld: look in /lib/32 paths by default
...
tags
5 years ago v1.2.1 Unleashed 1.2.1
5 years ago v1.2 Unleashed v1.2
5 years ago v1.1 Unleashed v1.1
5 years ago v1.0 Unleashed v1.0
6 years ago v1.0-rc1 Unleashed v1.0-rc1
heads
4 years ago master
6 years ago ttytabs