History log of /dragonfly/nrelease/Makefile (Results 1 – 25 of 261)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7eb3d59f 10-Apr-2024 Michael Neumann <mneumann@ntecs.de>

nrelease - fix/improve livecd

Make building a livecd image with "binpkgs" easier:

make release gui binpkgs

now works out of the box without having to manually specify the
corresponding package

nrelease - fix/improve livecd

Make building a livecd image with "binpkgs" easier:

make release gui binpkgs

now works out of the box without having to manually specify the
corresponding packages for some ports (e.g. perl5).

While there, fix .xinitrc (we no longer use pkgsrc) and use a more
recent xorg.conf.

show more ...


# 8c441895 24-Feb-2023 Aaron LI <aly@aaronly.me>

nrelease: Add 'IMGSIZE_MB' to specify file size in units of MB

The image file size was specified by the 'IMGSIZE' variable, but it's
the number of 512-byte sectors, which isn't intuitive and require

nrelease: Add 'IMGSIZE_MB' to specify file size in units of MB

The image file size was specified by the 'IMGSIZE' variable, but it's
the number of 512-byte sectors, which isn't intuitive and requires a
manual conversion. Add the 'IMGSIZE_MB' variable to directly specify
the file size in units of MB, which is more intuitive and friendly.

show more ...


# 2db6e812 23-Feb-2023 Aaron LI <aly@aaronly.me>

nrelease: Remove downloaded packages from ISO/IMG


# 3e82f71a 23-Feb-2023 Aaron LI <aly@aaronly.me>

nrelease: Allow /etc/ssl/cert.pem be missing

The 'pkg-bootstrap' target in '/usr/Makefile' has been updated to work
without '/etc/ssl/cert.pem', so ignore copy failure of this file.


# 3f84c424 08-Feb-2023 Aaron LI <aly@aaronly.me>

nrelease: Improve 'etc.hdd' creation to eliminate inconsistency

Previously, the 'etc.hdd' was created during the 'buildiso' target and
then updated in the 'pkgs' target. However, in the 'pkgs' targ

nrelease: Improve 'etc.hdd' creation to eliminate inconsistency

Previously, the 'etc.hdd' was created during the 'buildiso' target and
then updated in the 'pkgs' target. However, in the 'pkgs' target, only
the password files (i.e., master.passwd, passwd, group) were copied but
the password DBs (i.e., pwd.db, spwd.db) were not rebuild. This caused
an inconsistency in 'etc.hdd'. When a user tried manual installation
and forgot to run 'pwd_mkdb', the installed system would fail to add new
users and generate errors like:

> pw: user 'myuser' disappeared during update.
> adduser: ERROR: There was an error adding user (myuser).

This commit improves the creation of 'etc.hdd'. Reorder the 'customiso'
target *after* the 'pkgs' target, so we can simply copy the 'etc' to
'etc.hdd' and be done, without any further changes, and the resulting
password files and DBs are in consistency. In addition, this avoids
adding the 'installer' user to the 'etc.hdd' and so we get a cleaner
system by default.

See also: https://lists.dragonflybsd.org/pipermail/users/2023-February/428576.html
(Regenerating the password databases on new installs)

show more ...


Revision tags: v6.4.0, v6.4.0rc1, v6.5.0
# 117d2eab 17-Sep-2022 Michael Neumann <mneumann@ntecs.de>

nrelease - Copy `/etc/ssl/cert.pem` into ISOROOT

Otherwise it fails when using target `binpkg`:

```
9984868:error:14FFF086:SSL routines:(UNKNOWN)SSL_internal:certificate verify failed:/usr/src/lib/

nrelease - Copy `/etc/ssl/cert.pem` into ISOROOT

Otherwise it fails when using target `binpkg`:

```
9984868:error:14FFF086:SSL routines:(UNKNOWN)SSL_internal:certificate verify failed:/usr/src/lib/libressl/../../crypto/libressl/ssl/tls13_client.c:617:
pkg-static: https://mirror-master.dragonflybsd.org/dports/dragonfly:6.4:x86:64/LATEST/packagesite.txz: Authentication error
Unable to update repository Avalon
Error updating repositories!
```

show more ...


Revision tags: v6.2.2, v6.2.1, v6.2.0, v6.3.0
# 2c776168 25-Nov-2021 Sascha Wildner <saw@online.de>

nrelease: Switch to makefs(8) for the ISO's EFI system partition image.

Tested-by: tuxillo


# 8a6aa092 25-Nov-2021 Sascha Wildner <saw@online.de>

nrelease: Add a $WORLD_VERSION variable.

Can be useful when using new features in the release build.


# f8c0334e 25-Nov-2021 Antonio Huete Jimenez <tuxillo@quantumachine.net>

nrelease: DPorts not needed for binpkgs/nopkgs


Revision tags: v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0
# ea8f7c44 20-Feb-2021 Sascha Wildner <saw@online.de>

nrelease: Fix typo.


# 6b921297 01-Jan-2021 Aaron LI <aly@aaronly.me>

Remove obsolete dev_mkdb(8)

The devname(3) has long been updated to determine the device name via
the 'kern.devname' sysctl provided by devfs(5). The dev.db created by
dev_mkdb(8) is thus unused an

Remove obsolete dev_mkdb(8)

The devname(3) has long been updated to determine the device name via
the 'kern.devname' sysctl provided by devfs(5). The dev.db created by
dev_mkdb(8) is thus unused and obsolete. So remove dev_mkdb(8) as well
and update relevant parts.

show more ...


# 7392a6b4 29-Nov-2020 Sascha Wildner <saw@online.de>

nrelease: Define BUILDING_NRELEASE_DPORTS when building packages.

Requested by zrj to allow further optimization at the ports level.


Revision tags: v5.8.3, v5.8.2
# 2cc9c7f7 07-Sep-2020 Antonio Huete Jimenez <tuxillo@quantumachine.net>

nrelease: Follow-up commit 10d767c30ac91

- In our release disk image, create /firstboot so that any
rc.d script using the KEYWORD firstboot can be run
exactly once at boot. Since the first

nrelease: Follow-up commit 10d767c30ac91

- In our release disk image, create /firstboot so that any
rc.d script using the KEYWORD firstboot can be run
exactly once at boot. Since the firstboot code assumes
a read-write root filesystem, do not add this file to
our ISO image.

show more ...


# 7a64720c 04-Jun-2020 Sascha Wildner <saw@online.de>

nrelease: Stop putting the wpa_supplicant pkg on our install media.

Base wpa_supplicant was recently upgraded to 2.9.


# 04e94b32 16-May-2020 Aaron LI <aly@aaronly.me>

nrelease: Use pw(8) and chpass(1) to setup 'installer' and 'root' users

Use pw(8) to add the 'installer' user and use chpass(1) to disable
passwords for the 'installer' and 'root' users. So we can

nrelease: Use pw(8) and chpass(1) to setup 'installer' and 'root' users

Use pw(8) to add the 'installer' user and use chpass(1) to disable
passwords for the 'installer' and 'root' users. So we can drop the
customized 'master.passwd' file and be in sync with the one in
usr/src/etc.

show more ...


# 22e9b157 16-May-2020 Aaron LI <aly@aaronly.me>

nrelease: Recopy passwd and master.passwd as well

Ports/packages may also install new users.

While there, use '--yes' option for 'pkg autoremove' to clean a bit.


# a4527c0f 12-May-2020 Aaron LI <aly@aaronly.me>

release: Mount tmpfs at /usr/local/etc only if exists for ISO

For an ISO release built with the 'nopkgs' option, it doesn't have the
'/usr/local/etc' directory. Thus the boot process would fail bec

release: Mount tmpfs at /usr/local/etc only if exists for ISO

For an ISO release built with the 'nopkgs' option, it doesn't have the
'/usr/local/etc' directory. Thus the boot process would fail because it
cannot mount tmpfs at the non-existent directory '/usr/local/etc'.

Fix this issue by checking the existence of '/usr/local/etc' before
appending the corresponding entry to the ISO's fstab.

show more ...


# c2dc3938 12-May-2020 Aaron LI <aly@aaronly.me>

nrelease/Makefile: Fix 'pkg_${PKG}' to 'PKG_${PKG}' in a message


# dade4a2e 10-May-2020 Aaron LI <aly@aaronly.me>

nrelease/Makefile: Display help text when no target specified

Make the 'help' target the default, so that the help text is shown when
no target is specified. Before this change, a bare 'make' would

nrelease/Makefile: Display help text when no target specified

Make the 'help' target the default, so that the help text is shown when
no target is specified. Before this change, a bare 'make' would give
message: `gui' is up to date.

show more ...


Revision tags: v5.8.1
# 834a1306 03-Mar-2020 Matthew Dillon <dillon@apollo.backplane.com>

nrelease - Rename MAKE_JOBS to NREL_MAKE_JOBS

* Remove some confusion by renaming this variable. Should have no
effect on nrelease builds.


Revision tags: v5.8.0, v5.9.0, v5.8.0rc1
# fc3c0f63 15-Feb-2020 Sascha Wildner <saw@online.de>

Stop passing "-s labels" to vnconfig(4).

The option is deprecated and has no effect.


# 7d89978d 14-Feb-2020 Sascha Wildner <saw@online.de>

Use our new partition id (0x6c) in several more places.

Mainly, adjust the USB img's own ID and use it in the installer's
legacy BIOS install.

While here, adjust DragonFly BSD's name in a few place

Use our new partition id (0x6c) in several more places.

Mainly, adjust the USB img's own ID and use it in the installer's
legacy BIOS install.

While here, adjust DragonFly BSD's name in a few places (written with
a space).

Reported-by: zrj

show more ...


Revision tags: v5.6.3
# c488485f 07-Jan-2020 zrj <rimvydas.jasinskas@gmail.com>

kernel: Include syscons fonts in src-sys.tar.bz2 archive.

This will be used to reduce host dependencies when building
nativekernel from src-sys.tar.bz2. Building kernel without syscons
fonts is

kernel: Include syscons fonts in src-sys.tar.bz2 archive.

This will be used to reduce host dependencies when building
nativekernel from src-sys.tar.bz2. Building kernel without syscons
fonts is possible if SC_DFLT_FONT kernel options are not enabled.

show more ...


Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2
# 632d862b 03-Mar-2019 Aaron LI <aly@aaronly.me>

nrelease: Support to use binary packages

Add the new optional target "binpkgs" to allow to use binary packages,
i.e., installing them with pkg(8), instead of building them from
dports(7). This can

nrelease: Support to use binary packages

Add the new optional target "binpkgs" to allow to use binary packages,
i.e., installing them with pkg(8), instead of building them from
dports(7). This can be handy for end users who want to quickly build
a custom image with custom packages.

As pointed out by Sascha Wildner, one port may have multiple binary
packages (e.g., Python flavors) or have a different name that may not be
found by pkg(8). Therefore, allow to specify the exact binary package
name for a port by setting 'PKG_<port>=<pkg-name>'.

This feature is disabled by default, as suggested by Sascha Wildner,
because the release process should be self-contained as much as possible.

Update the help text and man page accordingly.

show more ...


# 333a466d 28-Oct-2019 Aaron LI <aly@aaronly.me>

nrelease: Fix 'make restartpkgs'

'make restartpkgs' is broken because 'make install' would fail if the
port is alreay installed. Fix this issue by executing 'make deinstall'
first, which would exit

nrelease: Fix 'make restartpkgs'

'make restartpkgs' is broken because 'make install' would fail if the
port is alreay installed. Fix this issue by executing 'make deinstall'
first, which would exit cleanly even if the port is not installed yet.

show more ...


1234567891011