View Issue Details

IDProjectCategoryView StatusLast Update
0005002The Dark ModTDM Installerpublic03.05.2020 18:58
Reporterstgatilov Assigned Tostgatilov  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status resolvedResolutionfixed 
Platformx64OSLinux 
Product VersionTDM 2.07 
Target VersionTDM 2.08Fixed in VersionTDM 2.08 
Summary0005002: Updater: fix self-update on 64-bit Linux
DescriptionWhile we have released 64-bit Linux build of tdm_update in 2.07, it can only be run with --noselfupdate parameter.
Now it is time to fix the self-update code.
TagsNo tags attached.

Relationships

related to 0004818 resolvedstgatilov Update and refactor scons script for building tdm_update 
related to 0004807 resolvedstgatilov tdm_update is still 32-bit only on Linux 

Activities

stgatilov

stgatilov

03.03.2019 16:52

administrator   ~0011665

Right now we have two updater's builds on Linux:
  tdm_update.linux (32-bit)
  tdm_update.linux64 (64-bit)
Given that they are 1-2 MB each, the easiest approach would be to put both of them into tdm_update_linux.zip (needs a fix in darkmod_pk4s.txt).

Then inside updater, there is a self-updating script, and I need to tweak the Linux version. Also probably the code which unpacks the updater binary from zip.
stgatilov

stgatilov

04.03.2019 13:52

administrator   ~0011666

It turned out that updater is already written in such a way, that it gets name of its own executable and self-updates to it. I only tweaked cleaning step a bit in svn rev 8016.
On the packaging side, I had to update both darkmod_pk4s.txt and base.txt (base manifest) --- in svn rev 15649.

I checked update from 2.07 to self-packaged current svn (aka 2.08), both with 32-bit and 64-bit updater. It seems to work well and run proper build after self-update.

Issue History

Date Modified Username Field Change
03.03.2019 16:47 stgatilov New Issue
03.03.2019 16:47 stgatilov Status new => assigned
03.03.2019 16:47 stgatilov Assigned To => stgatilov
03.03.2019 16:47 stgatilov Relationship added related to 0004818
03.03.2019 16:47 stgatilov Relationship added related to 0004807
03.03.2019 16:52 stgatilov Note Added: 0011665
04.03.2019 13:52 stgatilov Note Added: 0011666
04.03.2019 13:53 stgatilov Status assigned => resolved
04.03.2019 13:53 stgatilov Fixed in Version => TDM 2.08
04.03.2019 13:53 stgatilov Resolution open => fixed
19.05.2021 05:34 stgatilov Category TDM Updater => TDM Installer