Announcements

Info, questions, how-to, suggestions
aron
Posts: 92
Joined: Tue Dec 05, 2017 11:06 am

Re: Announcements

Post by aron » Mon Feb 05, 2018 7:53 am

A critical change was made, all systems shall be upgraded in one step. Please follow these steps to achieve it:
  1. Make sure about power supplies, get a working internet access, and do not reboot your system unless it is explicitly ordered.
  2. Do NOT upgrade anything! Reboot your machine, and boot a "tmpfs" version. This means, the system boots a standalone init cpio, and does not mount anything (except the tmpfs, dev and devpts). To identify such a boot, issue df -T and look for any persistent mount. Persistent mounts starts with + (plus) symbol, for instance:

    Code: Select all

    $ df -T
    Filesystem     Type          1K-blocks         Used        Avail Use% Mounted on
    +sata0/0       ext2           31457280       583712     30873568   1% /
    
  3. Install the install-help package.
  4. Mount your file system hierarchy under (i.e.) /mnt
  5. Copy your original mkbic into /bin (or /usr/bin, as your preference): cp /mnt/bin/mkbic /bin/mkbic
  6. Upgrade your installation: ih_pkstrap /mnt -u (the mkbic post-commit hook will fail anyway, so you may Ctrl-C it).
  7. Generate new init cpio: ih_mkbic /mnt
  8. Issue sync, then reboot your system.

aron
Posts: 92
Joined: Tue Dec 05, 2017 11:06 am

Re: Announcements

Post by aron » Wed Feb 21, 2018 1:03 pm

Note to upgrading loadersvc and/or libsvc and/or threos-kernel from version below 0.1-305 to version 0.1-305 (or higher):

Before upgrading the whole system to the new version, upgrade loadersvc, libsvc and threos-kernel separately:

Code: Select all

# pkman -Sy loadersvc libsvc threos-kernel
Let the pkman complete the install, sync, and reboot your system. After reboot, complete your whole system upgrade.

NOTE 1: You should do this version change for loadersvc, libsvc and threos-kernel together.
NOTE 2: You should additionally install the threosdebug package when doing this version upgrade.

aron
Posts: 92
Joined: Tue Dec 05, 2017 11:06 am

Re: Announcements

Post by aron » Mon Mar 19, 2018 6:01 am

A new mirror is created, which is a testing mirror, that will turn into the primary mirror periodically.
You can get the most up-to-date packages from here, however those packages might not work perfectly.

Just open the pkman.ini for editing:

Code: Select all

# joe /etc/pkman/pkman.ini
and place this line above the other server entries.

Code: Select all

server.testing = "http://mirror.threos.io/threos-testing/$repo/$arch"

aron
Posts: 92
Joined: Tue Dec 05, 2017 11:06 am

Re: Announcements

Post by aron » Mon Mar 26, 2018 7:46 pm

Both mirrors (mirror.threos.io/threos and mirror.threos.io/threos-testing) on threos.io are now in sync, featuring new packages and bug fixes. Everything works as planned as far as we know. Please give feedback when experiencing problems.

aron
Posts: 92
Joined: Tue Dec 05, 2017 11:06 am

Re: Announcements

Post by aron » Thu Mar 29, 2018 9:00 am

Before upgrading the xz package from a version below 5.2.3-1 to at least version 5.2.3-1:
  • Check whether the mentioned upgrade is involved:
    (Note: this is an example, actual versions may be different.)

    Code: Select all

    # pkman -Sy && pkman -Qu xz
    xz 0.1-330 -> 5.2.3-1
  • Upgrade the libc package:

    Code: Select all

    # pkman -Sy libc
  • Reboot your system
  • Proceed with the system upgrade:

    Code: Select all

    # pkman -Syu
    Or with the xz package:

    Code: Select all

    # pkman -Sy xz

aron
Posts: 92
Joined: Tue Dec 05, 2017 11:06 am

Re: Announcements

Post by aron » Tue Apr 03, 2018 9:03 am

A new wrapper script was added in install-help 1.0-20:
The ih_pkman script allows to execute raw pkman operations on the install target, while the original ih_pkstrap is not. The ih_pkstrap command was designed to create a new install target. The new script used in low-level system maintenance.

aron
Posts: 92
Joined: Tue Dec 05, 2017 11:06 am

Re: Announcements

Post by aron » Tue Apr 03, 2018 9:03 am

Important change in the pkman package from version 0.2.39-3:
The package manager does not extract the package files into separate temporary files. This will save up a lot of memory, but obviously slows the process down a bit.

aron
Posts: 92
Joined: Tue Dec 05, 2017 11:06 am

Re: Announcements

Post by aron » Thu Apr 05, 2018 6:07 am

The library deduplication feature is now available from libsvc-0.1-333. We suggest you to install it, you can spare a few megabytes of memory.

aron
Posts: 92
Joined: Tue Dec 05, 2017 11:06 am

Re: Announcements

Post by aron » Thu Apr 05, 2018 7:32 am

Before upgrading devman from version below 0.1-334 to 0.1-334 and above, manually remove the following files:
  • /bin/shutdown
  • /bin/reboot
  • /bin/poweroff
  • /bin/halt

Code: Select all

rm /bin/shutdown /bin/reboot /bin/poweroff /bin/halt

aron
Posts: 92
Joined: Tue Dec 05, 2017 11:06 am

Re: Announcements

Post by aron » Fri May 11, 2018 2:03 pm

A new version of gcc package is now available in the threos-testing repository, including many bug fixes, and new features like pthread. However, the pthread is not complete yet, please refer to the /usr/include/pthread.h for more details.
The new gcc can now compile C++, but only a statically linked PIC libstdc++ is available.

No additional steps are required to upgrade if the system was up to date a few weeks ago (since the last major upgrade).

Update: The content is now merged into the upstream repository. A single pkman -Syu should handle everything (tested).

Locked