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

0 Votes

Description

Version 8.2 of Tiny Core Linux Operating System is now available!

This Fixlet can upgrade the operating system of all the instances of the Tiny Core Virtual Relays on the targeted computers to Version 8.2.

To learn more about using Tiny Core Linux with BigFix, see:
https://www.ibm.com/support/knowledgecenter/SS6MER_9.5.0/com.ibm.bigfix.doc/Platform/Installation/c_tiny_core_introduction.html

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* encounter download problems in the future. The recommended work-around 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 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 tool to generate prefetch statements for downloads in BigFix Action Script
https://github.com/bigfix/make-prefetch

Tested on Tiny Core Linux versions: 7.0, 7.1, 8.0, 8.1, & 8.1.1

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

ID25193
StatusQA - Ready for Production Level Testing
TitleUpgrade Tiny Core Linux to Version 8.2 (TEMPLATE)
CategoryUpgrade
Download Size20127315
Source SeverityInformational
Source Release Date2/21/2018 11:44:01 AM
KeywordsTiny Core, Tiny Core Linux, VRA, Virtual Relay
Is TaskTrue
Added by on 2/21/2018 11:44:01 AM
Last Modified by on 2/21/2018 12:11:21 PM
Counters 405 Views / 1 Download
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 1 fixlet   * 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 < "8.2" )

Actions

Action 1 (default)

Action Link Click here   to upgrade the operating system  to Version 8.2
Script Type BigFix Action Script
// operating system
prefetch core.gz sha1:07bda91116be6bfdb22603ae2b8008c646e4edf6 size:7647219 http://distro.ibiblio.org/tinycorelinux/8.x/x86/archive/8.2/distribution_files/core.gz sha256:7a974e4b2863faae5f44fe0f15d20d8afae2e00a9113f37ce5c3d0373a0a3c25
prefetch vmlinuz sha1:cdefc1526ab27151e7af12a72557db795182deea size:3862112 http://distro.ibiblio.org/tinycorelinux/8.x/x86/archive/8.2/distribution_files/vmlinuz sha256:fcce8a605ad5af6749a51c4cddfdae8d6d2da25b27aade2162776971ba994112
prefetch acl.tcz sha1:f7a224b1236e5e077b9f430bbeaf0305b22901cb size:40960 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/acl.tcz sha256:38c3ef85257cb251328e3e5fa28dba047f636ec2924ec1888875b24e581c8e5f
prefetch libattr.tcz sha1:ec94e3cecf7d8374881e47ab49bdbb2e6b7c9edc size:8192 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/libattr.tcz sha256:f1f7c1e335f8b0cad853302f95db7c1497e355ef5eeabb2acda41bd37fe99687
prefetch syslinux.tcz sha1:70039319eb5a364c83d9410bd0e1d2b24583f1b5 size:2691072 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/syslinux.tcz sha256:09dd0099f09d4d4cab3a3b515b63078321181a783a7c7b78fe341878f3cbda61
prefetch nspr.tcz sha1:0bce043ba228f3f0b3c007897f8cf6804fa485ef size:135168 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/nspr.tcz sha256:026a7abafdbdc9a2bd7312db444f4fc9860efdbf0673bd9f9b191bba507d323c
prefetch nss.tcz sha1:d2ee47d85aa97ce41f1bb267212ddbda3eed2832 size:1478656 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/nss.tcz sha256:492bba0cae4d015d52ba7ee94c18bd1d86bf6082efb0a5382d37e923aeb239b2
prefetch popt.tcz sha1:3eb68d46c9c8216a9b40ebeae16795a5946c3d6f size:28672 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/popt.tcz sha256:f62025f8111477454433711d85d5becc6cf3d708f1d3fe4bb6328f76066dd12f
prefetch sqlite3.tcz sha1:d7c2aa6a6feadb8eeba58a3c47250d3faa0ead58 size:503808 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/sqlite3.tcz sha256:0ae2b0873f48e76215bfa55d99f54110ca0cb5ccda0c821536d57e806c073153
prefetch tzdata.tcz sha1:5521f4b41d4f4b083e2fa8de0ae92a6ea342c5b5 size:524288 http://distro.ibiblio.org/tinycorelinux/8.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/8.x/x86/tcz/fuse.tcz sha256:e4d8796b7133182e880f280eef447dd3b7467c287ef286a893af989bf4b18e98
    prefetch glib2.tcz sha1:26d8371a138e1c97801e7a88e8e57e0bbc5e5ef8 size:1232896 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/glib2.tcz sha256:d869632e7ab351745633fb592e38e551aff2a574a7a1f4c0af495e1ad1e1b72c
    prefetch libdnet.tcz sha1:20b44cb00ac4fbe225c6fe19ba673967467c4140 size:36864 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/libdnet.tcz sha256:036e53e5acf74d473415c56b0bd808f4dfd02406b8f8e0aa55e6c9716195cf37
    prefetch openssl.tcz sha1:115e630569705492eb870201eb14c91b783962fe size:1163264 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/openssl.tcz sha256:2d1b9cf8a5fe2494da08e147651dc30557e0cde26f8b52bdcc0c8e4acda7bafb
    prefetch gamin.tcz sha1:4b776007149e95f3b189f6c7760c14633ddc7cb7 size:16384 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/gamin.tcz sha256:08ccde4512884a5c02b564fd4f7c479bf20e77897e62a7d09cc05a35f7f5a1d5
    prefetch libffi.tcz sha1:791fcc837b3bf31c73fe1bcd935e0a30d48a402d size:16384 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/libffi.tcz sha256:f0eaa2d644beab0929ca14f93e7bd2e23350d14e49019b9fb727cb8949887a99
    prefetch open-vm-tools.tcz sha1:83ccdef0db7165146c99b5d4260c84a9890bcfd9 size:471040 http://distro.ibiblio.org/tinycorelinux/8.x/x86/tcz/open-vm-tools.tcz sha256:7afe6b86631e462d090cdddb366bce9650bc878a47f5a6fdbf91053a68581ba6

    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!