kernel: Clean up svn-related code and data #146

Merged
Sweetbread merged 1 commits from dunkaist/kolibrios:pr-clean-up-after-svn into main 2025-03-17 20:17:45 +01:00
Owner
  • Rearrange sf18.13 version structure to
    • mention git hash and release offset,
    • separate OS release and kernel ABI numbers,
    • include an optional debug tag.
  • Update the boot log and the blue screen to print the new fields.
  • Update docs.
  • No breaking changes.

Resolves #99.

* Rearrange sf18.13 version structure to + mention git hash and release offset, + separate OS release and kernel ABI numbers, + include an optional debug tag. * Update the boot log and the blue screen to print the new fields. * Update docs. * No breaking changes. Resolves #99.
dunkaist added 1 commit 2025-03-15 03:10:58 +01:00
kernel: Clean up svn-related code and data
Some checks failed
Build system / Check kernel codestyle (pull_request) Successful in 30s
Build system / Build (pull_request) Failing after 1m49s
ea9a3f7c6c
* Rearrange sf18.13 version structure to
  + mention git hash and release offset,
  + separate OS release and kernel ABI numbers,
  + include an optional debug tag.
* Update the boot log and the blue screen to print the new fields.
* Update docs.
* No breaking changes.

Resolves #99.
Author
Owner

The CI build has failed because its fasm 1.71.57 is outdated: 69e078cced

The CI build has failed because its fasm 1.71.57 is outdated: https://github.com/tgrysztar/fasm/commit/69e078ccedab073396be01df55868be6f3ad2ca3
mxlgv added a new dependency 2025-03-15 22:16:48 +01:00
mxlgv added the
Category/Kernel
Priority
Critical
labels 2025-03-15 22:17:48 +01:00
Author
Owner

I updated these two fasm binaries on the server:

/home/autobuild/tools/bin/fasm
/home/autobuild/tools/win32/bin/fasm

$ whoami
autobuild

$ fasm
flat assembler  version 1.73.32
usage: fasm <source> [output]
optional settings:
 -m <limit>         set the limit in kilobytes for the available memory
 -p <limit>         set the maximum allowed number of passes
 -d <name>=<value>  define symbolic variable
 -s <file>          dump symbolic information for debugging

I don't know if the CI container should be rebuilt somehow, but just triggering the build again produces the same error with the old fasm.

I updated these two fasm binaries on the server: ``` /home/autobuild/tools/bin/fasm /home/autobuild/tools/win32/bin/fasm $ whoami autobuild $ fasm flat assembler version 1.73.32 usage: fasm <source> [output] optional settings: -m <limit> set the limit in kilobytes for the available memory -p <limit> set the maximum allowed number of passes -d <name>=<value> define symbolic variable -s <file> dump symbolic information for debugging ``` I don't know if the CI container should be rebuilt somehow, but just triggering the build again produces the same error with the old fasm.
Author
Owner

To use the environment variables mentioned in this PR we need to export them. E.g. by calling such a script just before calling tup:

$ cat /path/to/kos32-export-env_vars
#!/bin/bash

REPO=$1
export KOLIBRIOS_BUILD_CMTID=$(git -C $REPO log -1 --oneline --abbrev=20 kernel/ | cut -c -8 | gawk '{print "0x"$1}')
export KOLIBRIOS_BUILD_OFFSET=$(git -C $REPO rev-list --count $(git -C $REPO tag -l --sort=-creatordate | head -n 1)..HEAD)

@Sweetbread, could you put this script to the CI container and then call it before 'tup' command like this?
source kos32-export-env_vars /path/to/kolibrios_localcopy_git

To use the environment variables mentioned in this PR we need to export them. E.g. by calling such a script just before calling tup: ``` $ cat /path/to/kos32-export-env_vars #!/bin/bash REPO=$1 export KOLIBRIOS_BUILD_CMTID=$(git -C $REPO log -1 --oneline --abbrev=20 kernel/ | cut -c -8 | gawk '{print "0x"$1}') export KOLIBRIOS_BUILD_OFFSET=$(git -C $REPO rev-list --count $(git -C $REPO tag -l --sort=-creatordate | head -n 1)..HEAD) ``` @Sweetbread, could you put this script to the CI container and then call it before 'tup' command like this? `source kos32-export-env_vars /path/to/kolibrios_localcopy_git`
Sweetbread force-pushed pr-clean-up-after-svn from ea9a3f7c6c to b6c850c47c 2025-03-17 12:43:29 +01:00 Compare
Sweetbread added 2 commits 2025-03-17 12:47:29 +01:00
ci: Change PATH var
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 29s
Build system / Build (pull_request) Successful in 4m59s
9813144f6d
Due to update of toolchain container, fasm in /home/autobuild/... folder
mxlgv was assigned by Sweetbread 2025-03-17 14:37:38 +01:00
Sweetbread added 1 commit 2025-03-17 15:22:07 +01:00
ci: setup variables
Some checks failed
Build system / Check kernel codestyle (pull_request) Successful in 1m8s
Build system / Build (pull_request) Failing after 1m3s
0db08f2364
Sweetbread force-pushed pr-clean-up-after-svn from 0db08f2364 to a910af190c 2025-03-17 15:24:28 +01:00 Compare
Sweetbread added 1 commit 2025-03-17 15:56:18 +01:00
tmp
Some checks failed
Build system / Check kernel codestyle (pull_request) Successful in 29s
Build system / Build (pull_request) Has been cancelled
ad7a703fb6
Sweetbread force-pushed pr-clean-up-after-svn from ad7a703fb6 to 739c6a2faf 2025-03-17 15:59:07 +01:00 Compare
Sweetbread added a new dependency 2025-03-17 19:25:22 +01:00
Sweetbread removed a dependency 2025-03-17 19:25:48 +01:00
Sweetbread added a new dependency 2025-03-17 19:26:12 +01:00
Author
Owner

I have checked the CI build, it has both the git-hash and release offset in it. The kernel ABI is printed to the log too. Looks good to me.

I have checked the CI build, it has both the git-hash and release offset in it. The kernel ABI is printed to the log too. Looks good to me.
Sweetbread force-pushed pr-clean-up-after-svn from 739c6a2faf to b6c850c47c 2025-03-17 20:07:35 +01:00 Compare
Sweetbread force-pushed pr-clean-up-after-svn from b6c850c47c to 55d641b0da 2025-03-17 20:07:52 +01:00 Compare
Sweetbread approved these changes 2025-03-17 20:14:22 +01:00
Sweetbread left a comment
Owner

image.png

![image.png](/attachments/6d47bf67-550b-42af-aac7-958e9771aaff)
Sweetbread requested review from mxlgv 2025-03-17 20:14:44 +01:00
Sweetbread added the
PR
Review required
label 2025-03-17 20:14:54 +01:00
mxlgv approved these changes 2025-03-17 20:17:05 +01:00
Sweetbread scheduled this pull request to auto merge when all checks succeed 2025-03-17 20:17:35 +01:00
Sweetbread merged commit 55d641b0da into main 2025-03-17 20:17:45 +01:00
Sweetbread deleted branch pr-clean-up-after-svn 2025-03-17 20:18:05 +01:00
Sweetbread added
PR
Ready to merge
and removed
PR
Review required
labels 2025-03-17 20:18:21 +01:00
Sign in to join this conversation.
No Reviewers
3 Participants
Notifications
Due Date
No due date set.
Reference: KolibriOS/kolibrios#146
No description provided.