fedora-release-24-2$>Vj8+id>AI"?Id  +x|   B t   `A@ ( 8 9!$:$>+rB+xG+H, I,X,Y,Z,[,\,]-T^. b/hd0je0of0rl0tt0u0v1Tw2x3`y33III Cfedora-release242Fedora release filesFedora release files such as various /etc/ files that define the release.Wl(bkernel01.phx2.fedoraproject.org=Fedora ProjectFedora ProjectMITFedora ProjectSystem Environment/Basehttp://fedoraproject.orglinuxnoarch-- This is intended to be run as an RPM scriptlet. -- Keep this file in sync with the convert-to-edition -- shell script local VARIANT_FILE = "/usr/lib/variant" -- Read in /usr/lib/variant and determine the edition local function read_variant() local variant local f = io.open(VARIANT_FILE, "r") if f ~= nil then while true do local line = f:read() if line == nil then break end local m = line:match("^VARIANT_ID=([^\n]+)") if m ~= nil then variant = m end end f:close() end return variant end -- Atomically replace a file with new contents local function writefile(path, data) local tmp = path .. ".convert-to-edition" local f = io.open(tmp, "w+") if f == nil then return end f:write(data) f:close() if not os.rename(tmp, path) then os.remove(tmp) end end -- Forcibly replace a symlink local function symlink(from, to) os.remove(to) assert(posix.symlink(from, to)) end -- Run a subroutine in a child process local function execute(...) local pid = posix.fork() if pid == 0 then posix.exec(...) posix.exit(1) elseif pid ~= -1 then local status = posix.wait(pid) if status ~= 0 then local program = ... error(program .. " exited with status " .. status) end end end -- Remove preset files for other editions -- This should never be necessary, but it's best to be safe local function clear_presets() local path = "/usr/lib/systemd/system-preset" for file in posix.files(path) do if file:match("^80.*%.preset$") then os.remove(path .. "/" .. file) end end end -- Get a list of presets that need to be enabled or disabled -- as part of the installation of this edition local function read_presets(path) local result = {} local f = assert(io.open(path)) if f ~= nil then while true do local line = f:read() if line == nil then break end local cmd, arg = line:match("^([^ \t]+)[ \t]+([^\n \t]+)") if cmd == "enable" or cmd == "disable" then result[#result + 1] = arg end end f:close() end return result end local function set_variant(variant) writefile(VARIANT_FILE, "VARIANT_ID=" .. variant .. "\n") end local function set_release(release) symlink("./os.release.d/os-release-" .. release, "/usr/lib/os-release") end local function set_issue(release) symlink("./os.release.d/issue-" .. release, "/usr/lib/issue") end -- release: the VARIANT_ID for os-release -- issue: which /etc/issue file to install -- presets: whether this edition has extra presets beyond the -- defaults to enable or disable local variants = { atomichost = {release = "atomichost", issue = "fedora", presets = false}, cloud = {release = "cloud", issue = "fedora", presets = false}, nonproduct = {release = "fedora", issue = "fedora", presets = false}, server = {release = "server", issue = "server", presets = true}, workstation = {release = "workstation", issue = "fedora", presets = true}, } -- Call out to systemctl to enable or disable presets local function set_presets(edition, apply_presets) if variants[edition].presets then local target = "/usr/lib/systemd/system-preset/80-" .. edition .. ".preset" symlink("../../os.release.d/presets/80-" .. edition .. ".preset", target) if apply_presets then local presets = read_presets(target) local systemctl = "/usr/bin/systemctl" if posix.access(systemctl, "x") then --fork off a systemctl call local pid = assert(posix.fork()) if pid == 0 then -- Child posix.exec(systemctl, "preset", "-q", table.unpack(presets)) -- In case exec() fails os.exit(17) else -- RPM assert(posix.wait(pid)) end end end end end local function convert_to_edition(edition, apply_presets) local variant = variants[edition] if variant == nil then error("undefined edition: " .. edition) end set_release(variant.release) set_issue(variant.issue) clear_presets() set_presets(edition, apply_presets) end local function install_edition(edition) -- Create the variant file if it does not already exist. This needs -- to be done on both installation and upgrade, to ensure that we -- upgrade from F23 and earlier properly. if not posix.access(VARIANT_FILE, "f") then set_variant(edition) end if read_variant() == edition then -- (On initial installation only), fix up after %systemd_post -- in packages possibly installed before our preset file was -- added -- On upgrades, do not enable or disable presets to avoid -- surprising the user local initial_install = arg[2] == 1 convert_to_edition(edition, initial_install) end end local function uninstall_edition(edition) -- If we are uninstalling, we need to reset the variant file and -- force the os-release file back to os-release-fedora. We do this -- in %preun so that we don't have any time where the os-release -- symlink is dangling (since in %postun, the os-release-$EDITION -- file will have already been removed) if arg[2] == 0 then if read_variant() == edition then set_variant("nonproduct") convert_to_edition("nonproduct", false) end end end -- On initial installation, we'll at least temporarily put the non-product -- symlinks in place. It will be overridden by fedora-release-$EDITION -- %post sections because we don't write the /usr/lib/variant file until -- %posttrans to avoid trumping the fedora-release-$EDITION packages. -- This is necessary to avoid breaking systemctl scripts since they rely on -- /usr/lib/os-release being valid. We can't wait until %posttrans to default -- to os-release-fedora. if arg[2] == "0" then set_release(fedora) set_issue(fedora) end -- We also want to forcibly set these paths on upgrade if we are explicitly -- set to "nonproduct" if read_variant() == "nonproduct" then convert_to_edition("nonproduct", false) end \  'A큤A큤A큤AA큤Wl'Wl'Wl'Wl'Wl'Wl'Wl'Wl(Wl'Wl(Wl'Wl'Wl'Wl'Wl'Wl'Wl'Wl'Wl'Wl'Wl(Wl'Wl(Wl'Wleb0fee253c5eb1afcc7887bc283873953214d39db02076be26269cc65403e75308f3d1b682455e38d04f0b5ee12abf13f7cfdd568e689ec4ee67e42809bd616c2b9bde05b2026bd656e33dc53be057228fc806c78ec955c6614a99348da5ad989489d28fbd325690224dd76c0d7ae403177e15a0d63758cc0171327b5ba2aa85e0c9bcaf7698f105ef732857be0e8a83d17199efa05d0798a6e974e3eb36a6c51782330490b5874f769bbd98fd86aedfb088b1e7a4d7fbc118a6a411875ca80c037ee720a5c511d7b257216cc81b55b5ebeb09775426288f2d46d614594d9e56dfa637cee722837b9f9b8b8e3f4f3541928850820d7351b79b505f15cad8c4b03127b197b9eae62eb84eeed69b0413419612238332006183e36a3fba89578378d3e5eb386a34db4ed5cdeca54798cfcfbd0d1bc8469448c678c7db90b576fb7148e80f9fd8ffbf9c05e21b7945f781bcd87e479010bdbde275e5efab152f9afbe98708047560db5a5bcf7495c3108709760cbf6202df7b216cbd7918725e7d0f../usr/lib/issue../usr/lib/issue.net../usr/lib/os-releasefedora-releasefedora-release@@@rootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootrootfedora-release-24-2.src.rpmconfig(fedora-release)fedora-releasefedora-release-nonproductfedora-release-standardredhat-releasesystem-releasesystem-release(24)@      /bin/bashconfig(fedora-release)fedora-repos(24)rpmlib(BuiltinLuaScripts)rpmlib(CompressedFileNames)rpmlib(FileDigests)rpmlib(PayloadFilesHavePrefix)rpmlib(PayloadIsXz)24-214.2.2-13.0.4-14.6.0-14.0-15.2-14.13.0-rc1Wm WN@W=WVV@V޾V'@V2V>@VIV@VpV }@V +U@U@U@U@UDennis Gilmore - 24-2Dennis Gilmore - 24-1Stephen Gallagher - 24-0.18Dennis Gilmore - 24-0.17Dennis Gilmore - 24-0.16Dennis Gilmore - 24-0.15Stephen Gallagher - 24-0.14Stephen Gallagher - 24-0.13Stephen Gallagher - 24-0.12Stephen Gallagher - 24-0.11Dennis Gilmore - 24-0.10Stephen Gallagher 24-0.9Stephen Gallagher 24-0.8Stephen Gallagher 24-0.7Dennis Gilmore - 24-0.6Stephen Gallagher - 24-0.5Stephen Gallagher - 24-0.4Stephen Gallagher - 24-0.3Stephen Gallagher - 24-0.2Dennis Gilmore - 24-0.1- apply fix from adamw for lua globbing bug rhbz#1349664 - enable lircd.socket rhbz#1340061- setup for f24 final- Fix %posttrans to properly write /usr/lib/variant for nonproduct- enable virtlogd.socket- Fork to execute systemctl calls- Properly handle systemd presets in Lua scripts - convert-to-edition: Remove call to grub2-mkconfig- Add a subpackage for Atomic Host to provide /usr/lib/os-release differences- Rewrite scriptlets in Lua to avoid a circular dependency on coreutils - Be more specific with fedora-release-server's Cockpit requirement (Do not pull in all of the optional Cockpit components as mandatory)- Only run grub2-mkconfig for platforms that support it - Remove erroneous RPM_BUILD_ROOT variables in convert-to-edition- Fix upgrade bug in Workstation and Cloud- setup for f24 being branched- Install Edition presets only for the configured Edition - Add script to convert from non-edition to an Edition - Fix upgrade bugs with non-edition installs - Explicitly set issue-fedora for cloud installs - Resolves: rhbz#1288205- Fix copy-paste error for Workstation os-release and issue- Rework os-release and issue mechanism to avoid upgrade issues such as competing fedora-release-$EDITION packages - Make a non-product install persistent (it won't be converted to an Edition install if something pulls in a fedora-release-$EDITION package- set bug_version to be rawhide rhbz#1259287- Do not clobber /etc/issue[.net] customizations- Update preset file with FESCo decisions - https://fedorahosted.org/fesco/ticket/1472- Enclose IPv6 addresses in square brackets in /etc/issue- Make /etc/issue configurable per-edition - Resolves: RHBZ#1239089- setup for rawhide being f24fedora-release-nonproductfedora-release-standardredhat-release 24-224-22422-0.8 23-0.322-0.8fedora-releaseissueissue.netos-releaseredhat-releasesystem-releasesystem-release-cpeissueissue.netos-releaseos.release.dissue-fedoraos-release-fedorapresetsmacros.distsystem-preset85-display-manager.preset90-default.preset99-default-disable.presetuser-presetvariantconvert-to-editionfedora-releaseFedora-Legal-README.txtLICENSE/etc//usr/lib//usr/lib/os.release.d//usr/lib/rpm/macros.d//usr/lib/systemd//usr/lib/systemd/system-preset//usr/sbin//usr/share/licenses//usr/share/licenses/fedora-release/-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tablesdrpmxz2noarch-redhat-linux-gnuASCII textcannot open `/builddir/build/BUILDROOT/fedora-release-24-2.noarch/usr/lib/issue' (No such file or directory)cannot open `/builddir/build/BUILDROOT/fedora-release-24-2.noarch/usr/lib/os-release' (No such file or directory)directorycannot open `/builddir/build/BUILDROOT/fedora-release-24-2.noarch/usr/lib/variant' (No such file or directory)Bourne-Again shell script, ASCII text executableUTF-8 Unicode textR-- This is intended to be run as an RPM scriptlet. -- Keep this file in sync with the convert-to-edition -- shell script local VARIANT_FILE = "/usr/lib/variant" -- Read in /usr/lib/variant and determine the edition local function read_variant() local variant local f = io.open(VARIANT_FILE, "r") if f ~= nil then while true do local line = f:read() if line == nil then break end local m = line:match("^VARIANT_ID=([^\n]+)") if m ~= nil then variant = m end end f:close() end return variant end -- Atomically replace a file with new contents local function writefile(path, data) local tmp = path .. ".convert-to-edition" local f = io.open(tmp, "w+") if f == nil then return end f:write(data) f:close() if not os.rename(tmp, path) then os.remove(tmp) end end -- Forcibly replace a symlink local function symlink(from, to) os.remove(to) assert(posix.symlink(from, to)) end -- Run a subroutine in a child process local function execute(...) local pid = posix.fork() if pid == 0 then posix.exec(...) posix.exit(1) elseif pid ~= -1 then local status = posix.wait(pid) if status ~= 0 then local program = ... error(program .. " exited with status " .. status) end end end -- Remove preset files for other editions -- This should never be necessary, but it's best to be safe local function clear_presets() local path = "/usr/lib/systemd/system-preset" for file in posix.files(path) do if file:match("^80.*%.preset$") then os.remove(path .. "/" .. file) end end end -- Get a list of presets that need to be enabled or disabled -- as part of the installation of this edition local function read_presets(path) local result = {} local f = assert(io.open(path)) if f ~= nil then while true do local line = f:read() if line == nil then break end local cmd, arg = line:match("^([^ \t]+)[ \t]+([^\n \t]+)") if cmd == "enable" or cmd == "disable" then result[#result + 1] = arg end end f:close() end return result end local function set_variant(variant) writefile(VARIANT_FILE, "VARIANT_ID=" .. variant .. "\n") end local function set_release(release) symlink("./os.release.d/os-release-" .. release, "/usr/lib/os-release") end local function set_issue(release) symlink("./os.release.d/issue-" .. release, "/usr/lib/issue") end -- release: the VARIANT_ID for os-release -- issue: which /etc/issue file to install -- presets: whether this edition has extra presets beyond the -- defaults to enable or disable local variants = { atomichost = {release = "atomichost", issue = "fedora", presets = false}, cloud = {release = "cloud", issue = "fedora", presets = false}, nonproduct = {release = "fedora", issue = "fedora", presets = false}, server = {release = "server", issue = "server", presets = true}, workstation = {release = "workstation", issue = "fedora", presets = true}, } -- Call out to systemctl to enable or disable presets local function set_presets(edition, apply_presets) if variants[edition].presets then local target = "/usr/lib/systemd/system-preset/80-" .. edition .. ".preset" symlink("../../os.release.d/presets/80-" .. edition .. ".preset", target) if apply_presets then local presets = read_presets(target) local systemctl = "/usr/bin/systemctl" if posix.access(systemctl, "x") then --fork off a systemctl call local pid = assert(posix.fork()) if pid == 0 then -- Child posix.exec(systemctl, "preset", "-q", table.unpack(presets)) -- In case exec() fails os.exit(17) else -- RPM assert(posix.wait(pid)) end end end end end local function convert_to_edition(edition, apply_presets) local variant = variants[edition] if variant == nil then error("undefined edition: " .. edition) end set_release(variant.release) set_issue(variant.issue) clear_presets() set_presets(edition, apply_presets) end local function install_edition(edition) -- Create the variant file if it does not already exist. This needs -- to be done on both installation and upgrade, to ensure that we -- upgrade from F23 and earlier properly. if not posix.access(VARIANT_FILE, "f") then set_variant(edition) end if read_variant() == edition then -- (On initial installation only), fix up after %systemd_post -- in packages possibly installed before our preset file was -- added -- On upgrades, do not enable or disable presets to avoid -- surprising the user local initial_install = arg[2] == 1 convert_to_edition(edition, initial_install) end end local function uninstall_edition(edition) -- If we are uninstalling, we need to reset the variant file and -- force the os-release file back to os-release-fedora. We do this -- in %preun so that we don't have any time where the os-release -- symlink is dangling (since in %postun, the os-release-$EDITION -- file will have already been removed) if arg[2] == 0 then if read_variant() == edition then set_variant("nonproduct") convert_to_edition("nonproduct", false) end end end -- If we get to %posttrans and nothing created /usr/lib/variant, set it to -- nonproduct. install_edition("nonproduct")utf-8?7zXZ !#,]"k%Ysfkxy-g´?CY F]z?V^jDuirFNXɢ%@al*!R!x=k8o);]2,sX4KeR|ytGC{DzF}ct?8y읖HAwx[B!}tD/ƒa\Y;٨GDɺJ dB,~Ƞ,m,+s6OQ4Y#>kb~J0O'/<[QĚvֈKȉM: LjK6Dޱs |HrPƚcR-L88VXZ_Dqy|SX(H]dĈC"sףUnwC92 GN"rW{(Z bopǩ>Ǎӫ&Dd맙rfDr푪 rkdLcKIO_\26L9- 02m r*A ͧp1r'+O>L{x|eDZφO4MmTjGGdoYCsnW DLCo YW*HT9ଡ଼ZVzhe8t_`o6|g|Z|Zݜ4Ùat4H;MπOjgVr&ӧv' s"a^P)dH ^W%Ֆ篳REpO3-. q)T7_v>\ ίP~P.T4ݪTl:)Lw\8شy vYˏ+wwb$1-yAG+'-ZfVbawtOq;V]]!eM>vs'ЙMu<}6vW ݲW4Vw-{~C'Jˍ=0E lEr1NBB@N2lQv 2u\(p{3\qLVk ѯK>>IJ]sWh\2=]5/c.; aИ@nFaaKY9JNG8Jechy}P R;lQR$om {`蜔S &K҃)e%Rzj% g6JV S hg i²4'֧#}vK/GʬYSF=;*2K[oL:le7i9hoc+ȿ6*#߫Ϲ¶! ]P^}P+:FLθ/пjFQ?i X+&H'GQp/J Q={|H_g{N}\P 7&fۓy(+ȝx[;='G7'L>f ڡsmb_H.OoyDаQ;2`PPeB\!EYO"l-u#=&g𠆨BSYC֕L#VRh!"es76}  YZ