fedora-release-coreos-29-11$>L>α鱜t>>B?Bd  ] 8>E00 0 0 0 1& 1(101:1D1d1l112p(28293:82>???G?H?I?X?Y?\?]?^@$b@;dAeAfAlAtAuAvABBBFBLBCfedora-release-coreos2911Base package for Fedora CoreOS-specific default configurationsProvides a base package for Fedora CoreOS Host-specific configuration files to depend.]Abuildvm-23.phx2.fedoraproject.orgFedora 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("coreos")-- 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("coreos")΁]A]Af72ebdf244e27a45828277813bd898d4828d8f022651f2bb0145fd2ceffc5abf0e7621b7a032be22b8a4a60b93c980475edb1cdb6b836fd46d4a3841bcf3a839rootrootrootrootfedora-release-29-11.src.rpmfedora-release-coreossystem-release-coreossystem-release-coreos(29)system-release-product     fedora-releaserpmlib(BuiltinLuaScripts)rpmlib(CompressedFileNames)rpmlib(FileDigests)rpmlib(PayloadFilesHavePrefix)rpmlib(PayloadIsXz)29-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-coreos.swidtagos-release-coreos/usr/lib/os.release.d/-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 texthttps://bugz.fedoraproject.org/fedora-releaseutf-83ddaf770971d7ca61efe8ba0a0530fff2e55d1072e347d6a7a0d2f9023811622? 7zXZ !#,l]"k%{HfkxyJ/Lam^ΫߍoCϼV"%~$ߥQ yY4UB4ns9[.qMriկ֮oC@Hئⳋs@򇛴FJƜՅ/Ty97޷ճnSkE٤Ѡ5d<,K/^!PukKRvⰓ_ù&3R5D+a{]1X>P:h 5+:Sv5$( {Ws^M)\& 72ȰYl7Ok.ռ-Km*Tj2pC4ُp35פ'F.ϱN!j_᱈QX5c:XbR=o, dG1^3ah^K O_g0eSa,k'`W@ݝ6 toM5~&+ߌ\IqPk<^"mg{_zE'աL~y'˰kRj{ٌtB10:6-wlZ~Q;.) $In4v:uۭx#鑜aO͆@@ip=3lv`81yzI3SFmLןu]np5Pe2"?x<}7ލWI䴍po L?FgaAٷQFmVQ^')$#Ic:Z[ĐĜLw:e=D]tWs1~V[Y a}MR[c LD"35r~buV3z ;oa%toa2vbL&; n~&U,3#h'c)4:ȡu 5vזŸLkH oW\sEq8Z4HΨTa/n2A=5_ձtnIS0o0plObFڋS}ןh{ijd % dFuyq*p}_d񅩎y`JB`,MVfG=rWM۱w~9e0ȀPGL)FyMl*ߩ/@^]PKsA u{C8Ma8$"9E>*8x6!yS$Pc%OT(`N/E h<} rWNIuѭƈ2Tס|;( fxr-yQQ:k&֊ʊ+~ZmC $ejA YZ