fedora-release-server-29-11$>NoEHI)S>>D?Dd  ] 8>E00 0 0 0 1 1111112L23(383940:9J>@?@G@H@I@XAYA\A]A,^AvbAdCKeCPfCSlCUtCpuCvCDHDLDzDDCfedora-release-server2911Base package for Fedora Server-specific default configurationsProvides a base package for Fedora Server-specific configuration files to depend on.]Abuildvm-23.phx2.fedoraproject.org=Fedora ProjectFedora ProjectMITFedora ProjectUnspecifiedhttps://fedoraproject.org/linuxnoarch-- 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_edition_swidtag(release) symlink("/usr/lib/os.release.d/Fedora-" .. release .. ".swidtag", "/usr/lib/swidtag/fedoraproject.org/org.fedoraproject.Fedora-edition.swidtag") end local function unset_edition_swidtag() os.remove("/usr/lib/swidtag/fedoraproject.org/org.fedoraproject.Fedora-edition.swidtag") end -- release: the VARIANT_ID for os-release -- presets: whether this edition has extra presets beyond the -- defaults to enable or disable local variants = { atomichost = {release = "atomichost", presets = false}, cloud = {release = "cloud", presets = false}, cinnamon = {release = "cinnamon", presets = false}, container = {release = "container", presets = false}, coreos = {release = "coreos", presets = false}, iot = {release = "iot", presets = true}, kde = {release = "kde", presets = false}, matecompiz = {release = "matecompiz", presets = false}, nonproduct = {release = "fedora", presets = false}, server = {release = "server", presets = true}, silverblue = {release = "silverblue", presets = false}, soas = {release = "soas", presets = false}, workstation = {release = "workstation", presets = true}, xfce = {release = "xfce", presets = false}, } -- 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) -- Symlink the correct edition .swidtag for anything but nonproduct if edition == "nonproduct" then unset_edition_swidtag() else set_edition_swidtag(variant.release) end 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 install_edition("server")-- 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_edition_swidtag(release) symlink("/usr/lib/os.release.d/Fedora-" .. release .. ".swidtag", "/usr/lib/swidtag/fedoraproject.org/org.fedoraproject.Fedora-edition.swidtag") end local function unset_edition_swidtag() os.remove("/usr/lib/swidtag/fedoraproject.org/org.fedoraproject.Fedora-edition.swidtag") end -- release: the VARIANT_ID for os-release -- presets: whether this edition has extra presets beyond the -- defaults to enable or disable local variants = { atomichost = {release = "atomichost", presets = false}, cloud = {release = "cloud", presets = false}, cinnamon = {release = "cinnamon", presets = false}, container = {release = "container", presets = false}, coreos = {release = "coreos", presets = false}, iot = {release = "iot", presets = true}, kde = {release = "kde", presets = false}, matecompiz = {release = "matecompiz", presets = false}, nonproduct = {release = "fedora", presets = false}, server = {release = "server", presets = true}, silverblue = {release = "silverblue", presets = false}, soas = {release = "soas", presets = false}, workstation = {release = "workstation", presets = true}, xfce = {release = "xfce", presets = false}, } -- 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) -- Symlink the correct edition .swidtag for anything but nonproduct if edition == "nonproduct" then unset_edition_swidtag() else set_edition_swidtag(variant.release) end 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 uninstall_edition("server")]]A]A]A]A489ce50d05c0f71186bf6faa6c3010a77fc5fc34977ea0cb85395c25ba4e6b984e0b951c65c33592f2b9c6b7ba0340de89272343681a6c1892775a0c6f159b909c69f29393ada96f03fa4f6b1fc113567a33c14d9b2c5c9befab7554a8434885@rootrootrootrootrootrootrootrootfedora-release-29-11.src.rpmfedora-release-serversystem-release-productsystem-release-serversystem-release-server(29)     cockpit-bridgecockpit-networkmanagercockpit-shellcockpit-storagedcockpit-wsfedora-releaseopenssh-serverrpmlib(BuiltinLuaScripts)rpmlib(CompressedFileNames)rpmlib(FileDigests)rpmlib(PayloadFilesHavePrefix)rpmlib(PayloadIsXz)systemdsystemd29-114.2.2-13.0.4-14.6.0-14.0-15.2-14.14.2.1]A\\A\0@\@\\[1[[S@[/[[[[[~[x @[t[r@[l,[h8@[`O@[D[CN@[,[Z؄ZZ@Mohan Boddu - 29-11Stephen Gallagher - 29-10Robert Fairley - 29-9Kevin Fenzi - 29-8Stephen Gallagher - 29-7Mohan Boddu 29-6Mohan Boddu 29-5Peter Robinson 29-4Jan Pazdziora - 29-3Stephen Gallagher - 29-2Mohan Boddu 29-1Mohan Boddu 29-0.17Mohan Boddu 29-0.16Stephen Gallagher - 29-0.15Mohan Boddu 29-0.14Peter Robinson 29-0.13Jason L Tibbitts III - 29-0.12David Herrmann - 29-0.12Mohan Boddu 29-0.11Peter Robinson 29-0.10Peter Robinson 29-0.9Stephen Gallagher - 29-0.8Adam Williamson - 29-0.7Adam Williamson - 29-0.6Mohan Boddu - 29-0.5Stephen Gallagher - 29-0.4Hans de Goede - 29-0.3Matthias Clasen - 29-0.2Mohan Boddu - 29-0.1- Enable the session agent for snaps- Add Provides for the base module for Fedora (BZ #1688462)- Own /etc/issue.d directory.- own the /etc/swid dir- Include empty VERSION_CODENAME= field in os-release- Use the icon logo for `LOGO` in os-release(5)- Add 'LOGO' to os-release(5) for Fedora- Add IoT config to fix policy around TPM2 requirements- Produce distro-level SWID tag in /usr/lib/swidtag/fedoraproject.org. - Add edition supplemental .swidtag files, and amend convert-to-edition.lua to keep symlink to the correct one in sync with os-release.- Add ostree-finalize-staged.path preset- Setup for F29 Final - Add DOCUMENTATION_URL to os-release- Enable the stratis daemon for managing stratis storage- Set cpi.service as enabled in the systemd presets - Set device_cio_free service as enabled- Drop special issue handling and convert-to-edition script- Adding Container sub package - Adding CoreOS sub package - Adding Desktop Spin sub packages- Add Fedora IoT edition components- Escape use of the distprefix macro, so it makes it into the macro file instead of being expanded in the spec.- Enable dbus user units explicitly- Branching F29 from rawhide- Enable dbus units explicitly- Increment and build for source merge change- Drop Recommends: fedora-repos-modular from Server Edition since it has been merged into fedora-repos.- Drop rolekit from Server presets too- Server: don't require rolekit (not installable, soon to be retired)- Add selinux-autorelabel-mark.service to default presets - Enable the pipewire service for user sessions - fedora-* renamed to OS independent names - Fix pattern-match in convert-to-edition.lua- Add fedora-repos-modular to Fedora Server installs- Enable the virtualbox-guest-additions service (vboxservice.service) - Add PLATFORM_ID to /etc/os-release- Add polkit rules to let gnome-software update Atomic Workstation- Setup for rawhide being f2929-11Fedora-server.swidtagos-release-server80-server.preset80-server.preset/usr/lib/os.release.d//usr/lib/os.release.d/presets//usr/lib/systemd/system-preset/-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protectiondrpmxz2noarch-redhat-linux-gnuXML 1.0 document, ASCII textASCII textcannot open `/builddir/build/BUILDROOT/fedora-release-29-11.noarch/usr/lib/systemd/system-preset/80-server.preset' (No such file or directory)https://bugz.fedoraproject.org/fedora-releaseutf-84c43ba06a202610d5d6d4c4a405466fff23d6fcea264e8500d6e5ced987a6f83? 7zXZ !#,t]"k%{HfkxyM\as^+ leB%ÖPD5Yf]5]sD2ƭI& DZr/OxŖ"@w4+p;}i 1uǻm1n7\^I6dHT ]~=v_v_&bA"fD6<?q2!| W䖡FսC қcIКҚ>p]&qwQ55Y^,vA5W'g}[_dL8!zŅ ΗBP6q3RzLƆ}s)HZ|Lx2}ha@ŽEbi'kSd<)|zF~'ͺ_۠&btmgNs4𾨥vm2I~#+si<IG?J|_tR?e:{'%L54W񪓉iKƅEnm?e#dJM*A}OgwĪ`9 7ӓ(- O˭D˓]f89bp΅y_0B)>ЍwD\_mwڲ_Ⰳ$=LǼ*U$lSΊ`p2Wn" Wǔc, C6D sħwɟo_>>=M"׫y۵> $9:.cGCQ ئ7MFTo0^kn *B^Rh{\,f۴Z/LS2B,}'&2+skΫVFDg`oMvK'j*S,z4qŃBhw>+Еyq/,U. nB"؁./Q1 Qe8wtq13E~~jQ.uP:(b z%MC;0uiXlF=F&$R9gLVzZuSĚ%~@G7l$ Qfwe= ʘ1.b*WtΆ}ʗh/eLHm'^)F(vmBf+X?LX HH lֳ 873v48@wh* Q{VTB# d$ӦY@Hg˵o(^8Q}iA?0 R1=z\JgnlG!¥|) c"@ln'o褨FF˪4k]Δ |x`%e1ıߛNG7DqIVQw $n. YZ