Tiny Core Linux - Upgrade Operating System to Version 9.0 (TEMPLATE)
Log In or Register to download the BES file, and more.

0 Votes

Description

Official support for version 9.0 of Tiny Core Linux is coming soon to BigFix. For now, 9.0 seems to work even in 9.5.9 BigFix environments. This fixlet can aid in your testing of it.

This Fixlet can upgrade the operating system of all the instances of the Tiny Core Virtual Relays on the targeted computers to Version 9.0. It has been tested on Tiny Core Linux 7.X and 8.X.

WARNING:  This fixlet is not meant to be run as-is. There is no way to predict when the Tiny Core Linux team will change the "*.tcz" files used by this fixlet, so actions started with this fixlet will likley encounter download problems in the future. The recommended way to handle this is to create a custom copy of this action where the prefectch lines in the action script are edited for the current files served by Tiny Core, then manually pre-cache those files on the bigfix server.

How do I manually cache a file on the BigFix Server?
https://www-01.ibm.com/support/docview.wss?uid=swg21506037

make-prefetch, a Python tool to generate prefetch statements for downloads in BigFix Action Script:
https://github.com/bigfix/make-prefetch

Note:  If VMware Tools are already installed on the target computer, they will be upgraded automatically.

Note:  Before running this Fixlet, ensure that the BigFix Client Version installed on the Tiny Core Virtual Relays is 9.5.8 or higher.

File Size:

19.19 MB

Property Details

ID25555
StatusBeta - Preliminary testing ready for more
TitleTiny Core Linux - Upgrade Operating System to Version 9.0 (TEMPLATE)
CategoryUpgrade
Download Size20127315
SourceIBM AVP
Source SeverityInformational
Source Release Date9/28/2018 11:23:46 AM
Keywordstinycore vra
Is TaskTrue
Added by on 9/28/2018 11:23:46 AM
Last Modified by on 10/16/2018 9:46:40 AM
Counters 109 Views / 2 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 2 fixlets   * Results in a true/false
Show indented relevance
exists (operating system) whose (it as string starts with "Linux TinyCore")
Used in 1 fixlet   * Results in a true/false
Show indented relevance
(exists file "/usr/share/doc/tc/release.txt") AND ( version of operating system < "9.0" )

Actions

Action 1 (default)

Action Link Click here   to upgrade the operating system  to Version 9.0
Script Type BigFix Action Script
// operating system
prefetch core.gz sha1:47af60d5dabbcb7e9e23d48b43d0802585fd73a1 size:8730363 http://distro.ibiblio.org/tinycorelinux/9.x/x86/release/distribution_files/core.gz sha256:f259129b3ee4bb234e2d08750d38e7387b0a583e95ac34ff13c7e7c9a0a1962d
prefetch vmlinuz sha1:6b91a5385d8a92768817a5c14038c2ca9a3e1704 size:4106416 http://distro.ibiblio.org/tinycorelinux/9.x/x86/release/distribution_files/vmlinuz sha256:b21fa905a7bf4738a876878fe6390fb06e653b00129fc46cb48e4212a4c876c2
prefetch acl.tcz sha1:f7a224b1236e5e077b9f430bbeaf0305b22901cb size:40960 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/acl.tcz sha256:38c3ef85257cb251328e3e5fa28dba047f636ec2924ec1888875b24e581c8e5f
prefetch libattr.tcz sha1:ec94e3cecf7d8374881e47ab49bdbb2e6b7c9edc size:8192 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/libattr.tcz sha256:f1f7c1e335f8b0cad853302f95db7c1497e355ef5eeabb2acda41bd37fe99687
prefetch syslinux.tcz sha1:70039319eb5a364c83d9410bd0e1d2b24583f1b5 size:2691072 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/syslinux.tcz sha256:09dd0099f09d4d4cab3a3b515b63078321181a783a7c7b78fe341878f3cbda61
prefetch nspr.tcz sha1:dfe8210919f0b0022a2aac4f73b6aa363a78ffd5 size:118784 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/nspr.tcz sha256:f7aeb200e8a45d316ea7d3c3f17a416a0b83ca50826b464250045c310b1fd685
prefetch nss.tcz sha1:859f03667ddf4d8909d0766cd3cb3184871bb914 size:1736704 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/nss.tcz sha256:ff648292da16a675a3e3513a5f27936fe5e77a37373f0c1ee9b33865bd2edd93
prefetch popt.tcz sha1:3eb68d46c9c8216a9b40ebeae16795a5946c3d6f size:28672 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/popt.tcz sha256:f62025f8111477454433711d85d5becc6cf3d708f1d3fe4bb6328f76066dd12f
prefetch sqlite3.tcz sha1:d7c2aa6a6feadb8eeba58a3c47250d3faa0ead58 size:503808 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/sqlite3.tcz sha256:0ae2b0873f48e76215bfa55d99f54110ca0cb5ccda0c821536d57e806c073153
prefetch tzdata.tcz sha1:5521f4b41d4f4b083e2fa8de0ae92a6ea342c5b5 size:524288 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/tzdata.tcz sha256:290f5ae1f4738ad9d0c0cf39d72dcbc8743e50e1355bd1b2c1cec3aa46991526

// operating system
continue if {exists file "__Download/core.gz"}
continue if {exists file "__Download/vmlinuz"}
delete "/mnt/sda1/tce/boot/core.gz"
delete "/mnt/sda1/tce/boot/vmlinuz"
move __Download/core.gz "/mnt/sda1/tce/boot/core.gz"
move __Download/vmlinuz "/mnt/sda1/tce/boot/vmlinuz"

// virtual relay prerequisites
continue if {exists file "__Download/acl.tcz"}
continue if {exists file "__Download/libattr.tcz"}
continue if {exists file "__Download/syslinux.tcz"}
continue if {exists file "__Download/nspr.tcz"}
continue if {exists file "__Download/nss.tcz"}
continue if {exists file "__Download/popt.tcz"}
continue if {exists file "__Download/sqlite3.tcz"}
continue if {exists file "__Download/tzdata.tcz"}
delete "/mnt/sda1/tce/optional/acl.tcz"
delete "/mnt/sda1/tce/optional/libattr.tcz"
delete "/mnt/sda1/tce/optional/syslinux.tcz"
delete "/mnt/sda1/tce/optional/nspr.tcz"
delete "/mnt/sda1/tce/optional/nss.tcz"
delete "/mnt/sda1/tce/optional/popt.tcz"
delete "/mnt/sda1/tce/optional/sqlite3.tcz"
delete "/mnt/sda1/tce/optional/tzdata.tcz"

move __Download/acl.tcz "/mnt/sda1/tce/optional/acl.tcz"
move __Download/libattr.tcz "/mnt/sda1/tce/optional/libattr.tcz"
move __Download/syslinux.tcz "/mnt/sda1/tce/optional/syslinux.tcz"
move __Download/nspr.tcz "/mnt/sda1/tce/optional/nspr.tcz"
move __Download/nss.tcz "/mnt/sda1/tce/optional/nss.tcz"
move __Download/popt.tcz "/mnt/sda1/tce/optional/popt.tcz"
move __Download/sqlite3.tcz "/mnt/sda1/tce/optional/sqlite3.tcz"
move __Download/tzdata.tcz "/mnt/sda1/tce/optional/tzdata.tcz"

// vmware tools prerequisites
if {exists file "/opt/bigFix/status/vmwareToolsReady"}
    prefetch fuse.tcz sha1:bb36663427f2abd429bf77b16d2d8d11e82a51ef size:188416 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/fuse.tcz sha256:e4d8796b7133182e880f280eef447dd3b7467c287ef286a893af989bf4b18e98
prefetch glib2.tcz sha1:26d8371a138e1c97801e7a88e8e57e0bbc5e5ef8 size:1232896 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/glib2.tcz sha256:d869632e7ab351745633fb592e38e551aff2a574a7a1f4c0af495e1ad1e1b72c
prefetch libdnet.tcz sha1:20b44cb00ac4fbe225c6fe19ba673967467c4140 size:36864 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/libdnet.tcz sha256:036e53e5acf74d473415c56b0bd808f4dfd02406b8f8e0aa55e6c9716195cf37
prefetch openssl.tcz sha1:115e630569705492eb870201eb14c91b783962fe size:1163264 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/openssl.tcz sha256:2d1b9cf8a5fe2494da08e147651dc30557e0cde26f8b52bdcc0c8e4acda7bafb
prefetch gamin.tcz sha1:4b776007149e95f3b189f6c7760c14633ddc7cb7 size:16384 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/gamin.tcz sha256:08ccde4512884a5c02b564fd4f7c479bf20e77897e62a7d09cc05a35f7f5a1d5
prefetch libffi.tcz sha1:791fcc837b3bf31c73fe1bcd935e0a30d48a402d size:16384 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/libffi.tcz sha256:f0eaa2d644beab0929ca14f93e7bd2e23350d14e49019b9fb727cb8949887a99
prefetch open-vm-tools.tcz sha1:adfda038cfdddbf0debc078732c7cbccc28c03f3 size:458752 http://distro.ibiblio.org/tinycorelinux/9.x/x86/tcz/open-vm-tools.tcz sha256:2d198e65a036db6045fe0684f3ba9e62ea95b6b12b336da5470e22e95d21151c

    continue if {exists file "__Download/fuse.tcz"}
    continue if {exists file "__Download/glib2.tcz"}
    continue if {exists file "__Download/libdnet.tcz"}
    continue if {exists file "__Download/openssl.tcz"}
    continue if {exists file "__Download/gamin.tcz"}
    continue if {exists file "__Download/libffi.tcz"}
    continue if {exists file "__Download/open-vm-tools.tcz"}
    delete "/mnt/sda1/tce/optional/fuse.tcz"
    delete "/mnt/sda1/tce/optional/glib2.tcz"
    delete "/mnt/sda1/tce/optional/libdnet.tcz"
    delete "/mnt/sda1/tce/optional/openssl.tcz"
    delete "/mnt/sda1/tce/optional/gamin.tcz"
    delete "/mnt/sda1/tce/optional/libffi.tcz"
    delete "/mnt/sda1/tce/optional/open-vm-tools.tcz"

    move __Download/fuse.tcz "/mnt/sda1/tce/optional/fuse.tcz"
    move __Download/glib2.tcz "/mnt/sda1/tce/optional/glib2.tcz"
    move __Download/libdnet.tcz "/mnt/sda1/tce/optional/libdnet.tcz"
    move __Download/openssl.tcz "/mnt/sda1/tce/optional/openssl.tcz"
    move __Download/gamin.tcz "/mnt/sda1/tce/optional/gamin.tcz"
    move __Download/libffi.tcz "/mnt/sda1/tce/optional/libffi.tcz"
    move __Download/open-vm-tools.tcz "/mnt/sda1/tce/optional/open-vm-tools.tcz"
endif

run sudo reboot
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!