From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Zucchi Subject: Re: jfs, jfsutils? Date: Thu, 12 Dec 2019 13:48:00 +1030 Message-ID: <4454c84b-fa97-df27-d5d5-7e7a8643f8ef@gmail.com> References: <882e8091-aaa7-0705-306d-d4bf2824e050@gmail.com> <87y2viifel.fsf@nckx> <87v9qmialu.fsf@nckx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------A5FEA33529E47A7AEFA1A5B0" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34984) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifEzR-0008Rx-4J for help-guix@gnu.org; Wed, 11 Dec 2019 22:18:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifEzP-0000oi-Ni for help-guix@gnu.org; Wed, 11 Dec 2019 22:18:09 -0500 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:34690) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifEzP-0000mM-Et for help-guix@gnu.org; Wed, 11 Dec 2019 22:18:07 -0500 Received: by mail-pf1-x42a.google.com with SMTP id l127so357479pfl.1 for ; Wed, 11 Dec 2019 19:18:07 -0800 (PST) In-Reply-To: <87v9qmialu.fsf@nckx> Content-Language: en-AU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Tobias Geerinckx-Rice , help-guix@gnu.org This is a multi-part message in MIME format. --------------A5FEA33529E47A7AEFA1A5B0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi Tobias, On 12/12/19 12:11 pm, Tobias Geerinckx-Rice wrote: > Michael & me, > > Tobias Geerinckx-Rice 写道: >> - jfsutils needs to be packaged for Guix > > I wrote a quick but working package[0]. > >> - and a static fsck added to the initramfs > > I didn't have time for this yet. > Ok so it seems you're half done already, but I've been plodding away (and didn't check my email on my old computer) and have both building. I'm not really sure where to put it or how to compile each part (it just build jfsutils, not jfs_fsck/static) and I used the slackware patches, but attached is what i have at the moment.  I used jfs_fsck for the static fsck because that's the default name but it could be fsck.jfs. I started with a definitions of e2fsprogs and it's related functions from a linux.scm i found in /gnu/store and based it on that. I've a number of built package 'attempts' building up - should I just run guix gc to clear them out or will that delete stuff i'm just going to need again? Cheers,  Z (I presume attachments work ok on this list.) --------------A5FEA33529E47A7AEFA1A5B0 Content-Type: text/x-scheme; name="jfsutils.scm" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="jfsutils.scm" KGRlZmluZS1tb2R1bGUgKGpmc3V0aWxzKQogICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2Vz IGxpbnV4KQogICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzKQogICM6dXNlLW1vZHVsZSAo Z3VpeCBidWlsZC1zeXN0ZW0gZ251KQogICM6dXNlLW1vZHVsZSAoZ3VpeCBidWlsZC1zeXN0 ZW0gdHJpdmlhbCkKICAjOnVzZS1tb2R1bGUgKGd1aXggZG93bmxvYWQpCiAgIzp1c2UtbW9k dWxlIChndWl4IGxpY2Vuc2VzKQogICM6dXNlLW1vZHVsZSAoZ3VpeCBwYWNrYWdlcykKICAj OnVzZS1tb2R1bGUgKGd1aXggdXRpbHMpKQoKKGRlZmluZS1wdWJsaWMgamZzdXRpbHMKICAo cGFja2FnZQogICAgKG5hbWUgImpmc3V0aWxzIikKICAgICh2ZXJzaW9uICIxLjEuMTUiKQog ICAgKHNvdXJjZSAob3JpZ2luCiAgICAgICAgICAgICAgKG1ldGhvZCB1cmwtZmV0Y2gpCiAg ICAgICAgICAgICAgKHVyaSAoc3RyaW5nLWFwcGVuZAoJCSAgICAiaHR0cDovL2pmcy5zb3Vy Y2Vmb3JnZS5uZXQvcHJvamVjdC9wdWIvamZzdXRpbHMtIgoJCSAgICB2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2UtYXJndW1lbnRzIGpmc3V0aWxzKQogICAgICAgICAgICAgICAoKCM6Y29uZmlndXJl LWZsYWdzIF8pCiAgICAgICAgICAgICAgICAnKGxpc3QgIkxERkxBR1M9LXN0YXRpYyIpKSkp KSkpCgooZGVmaW5lLXB1YmxpYyBqZnNfZnNjay9zdGF0aWMKICAocGFja2FnZQogICAgKG5h bWUgImpmc19mc2NrLXN0YXRpYyIpCiAgICAodmVyc2lvbiAocGFja2FnZS12ZXJzaW9uIGpm c3V0aWxzKSkKICAgIChidWlsZC1zeXN0ZW0gdHJpdmlhbC1idWlsZC1zeXN0ZW0pCiAgICAo c291cmNlICNmKQogICAgKGlucHV0cwogICAgIGAoKCJqZnN1dGlscyIgLGpmc3V0aWxzL3N0 YXRpYykpKQogICAgKGFyZ3VtZW50cwogICAgIGAoIzptb2R1bGVzICgoZ3VpeCBidWlsZCB1 dGlscykpCiAgICAgICAjOmJ1aWxkZXIKICAgICAgIChiZWdpbgogICAgICAgICAodXNlLW1v ZHVsZXMgKGd1aXggYnVpbGQgdXRpbHMpCiAgICAgICAgICAgICAgICAgICAgICAoaWNlLTkg ZnR3KQogICAgICAgICAgICAgICAgICAgICAgKHNyZmkgc3JmaS0yNikpCgogICAgICAgICAo bGV0ICgoamZzX2ZzY2sgKHN0cmluZy1hcHBlbmQgKGFzc29jLXJlZiAlYnVpbGQtaW5wdXRz ICJqZnN1dGlscyIpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi9z YmluL2pmc19mc2NrIikpCiAgICAgICAgICAgICAgIChiaW4gICAgKHN0cmluZy1hcHBlbmQg KGFzc29jLXJlZiAlb3V0cHV0cyAib3V0IikgIi9zYmluIikpKQogICAgICAgICAgIChta2Rp ci1wIGJpbikKICAgICAgICAgICAod2l0aC1kaXJlY3RvcnktZXhjdXJzaW9uIGJpbgogICAg ICAgICAgICAgKGNvcHktZmlsZSBqZnNfZnNjayAiamZzX2ZzY2siKQogICAgICAgICAgICAg KHJlbW92ZS1zdG9yZS1yZWZlcmVuY2VzICJqZnNfZnNjayIpCiAgICAgICAgICAgICAoY2ht b2QgImpmc19mc2NrIiAjbzU1NSkpCiAgICAgICAgICAgI3QpKSkpCiAgICAoaG9tZS1wYWdl IChwYWNrYWdlLWhvbWUtcGFnZSBqZnN1dGlscykpCiAgICAoc3lub3BzaXMgIlN0YXRpY2Fs bHktbGlua2VkIGpmc19mc2NrIGNvbW1hbmQgZnJvbSBqZnN1dGlscyIpCiAgICAoZGVzY3Jp cHRpb24gIlRoaXMgcGFja2FnZSBwcm92aWRlcyBzdGF0aWNhbGx5LWxpbmtlZCBqZnNfZnNj ayBjb21tYW5kIHRha2VuCmZyb20gdGhlIGpmc3V0aWxzIHBhY2thZ2UuICBJdCBpcyBtZWFu dCB0byBiZSB1c2VkIGluIGluaXRyZHMuIikKICAgIChsaWNlbnNlIChwYWNrYWdlLWxpY2Vu c2UgamZzdXRpbHMpKSkpCgo= --------------A5FEA33529E47A7AEFA1A5B0 Content-Type: text/x-patch; name="jfsutils.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="jfsutils.patch" LS0tIC4vbGliZnMvZGV2aWNlcy5jLm9yaWcJMjAwOS0wMy0yMyAxMDozNzowNS4wMDAwMDAw MDAgLTA1MDAKKysrIC4vbGliZnMvZGV2aWNlcy5jCTIwMTgtMDktMTggMTg6NTE6MDAuNjk5 MDYzNDA0IC0wNTAwCkBAIC00MCw2ICs0MCw3IEBACiAjaW5jbHVkZSA8c3lzL3R5cGVzLmg+ CiAjaW5jbHVkZSA8c3lzL3N0YXQuaD4KICNpbmNsdWRlIDxzeXMvaW9jdGwuaD4KKyNpbmNs dWRlIDxzeXMvc3lzbWFjcm9zLmg+CiAjaWYgZGVmaW5lZChfX0RyYWdvbkZseV9fKQogI2lu Y2x1ZGUgPG1hY2hpbmUvcGFyYW0uaD4KICNpbmNsdWRlIDxzeXMvZGlza3NsaWNlLmg+Ci0t LSAuL2xpYmZzL2RldmljZXMuaC5vcmlnCTIwMDUtMTEtMjIgMTQ6NDM6NTUuMDAwMDAwMDAw IC0wNjAwCisrKyAuL2xpYmZzL2RldmljZXMuaAkyMDE4LTA5LTE5IDAxOjU1OjM3Ljk2MDMz NjEwMiAtMDUwMApAQCAtNDAsNiArNDAsOCBAQAogI2RlZmluZSBFUlJPUl9JTlZBTElEX1BB UkFNRVRFUgk4NwogI2RlZmluZSBFUlJPUl9ESVNLX0ZVTEwJCTExMgogCisjaW5jbHVkZSA8 aW50dHlwZXMuaD4KKwogc3RydWN0IHN0YXQ7CiAKIGludCB1amZzX2dldF9kZXZfc2l6ZShG SUxFICosIGludDY0X3QgKiBzaXplKTsK --------------A5FEA33529E47A7AEFA1A5B0--