From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6641861376070385664 X-Received: by 2002:a1c:6341:: with SMTP id x62mr255821wmb.12.1547547023335; Tue, 15 Jan 2019 02:10:23 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:280a:: with SMTP id o10ls332664wmo.11.gmail; Tue, 15 Jan 2019 02:10:22 -0800 (PST) X-Google-Smtp-Source: ALg8bN6MSGfqPqgBDsMOO5hdREKpmv8d6XPzVc5L23RBiof6yuoZUMXkUkZey6Hxl1s1xDKwQOlR X-Received: by 2002:a1c:2dd0:: with SMTP id t199mr240262wmt.21.1547547022649; Tue, 15 Jan 2019 02:10:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547547022; cv=none; d=google.com; s=arc-20160816; b=XODmLEzItxp1xZfZx0EeT/dXYvwIY3BNxi5/TZ196xo/qgibIcHP7KaIkyVLggshCx ZWG1luT5tJ+7BhOeqQPdUkKXFtN5loN9DFH3GGBp3jKP1SQ5yTmUU9f8a9ehW0pePtr0 vPwh7LJWbu8j4qn4m4HHNKyvPHET5JitxlTDGrZrbVceT6TIuEIO8Sj89ZrTLMK6kI2M LThwUJPrSVd/d/ibabS22553y6mcQfAyEXsQ9sWzjdOuiRJT7GUaMmIzXEqFyJkkApMB wGf0PKFijq2z0n3+PeIVw5qiwqbOH7zI7yON2KeWtpHiczK4rNVj97PtohBdfm17HDBI ZvKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date; bh=eJEnNeQVEz9/a/Y3BCnnETE9KHDvdAMie37Lub8Hd3k=; b=uYOz6cV4xX8LcP8oD48TqsUwZZCMoRKgG5CV7+K3XktNRyEMLto4js3Ixlj2Nnl+3u 0YrIJiXKntc8hAzd17CWDgHV8eOauMPMmt/XGe6tuRZhlKOYCaHWM0xP6zbBDwHA8O5v ITgsS6i/vDQ7wRqUmVB96ECnDaAIbyuFrbvFdDNfvZb4R9PkbmlFX80aBD2zUuwJhAjt Nm72QIDL7KDspCWGgOrj0Q2oR4SuWP15+y43YbQ+uj8ZW39SOoYTxTqS0wm12Zokvreo 6ao+i5Z4SGd/gzDNZSSYxM+Z4NW9sLz1mxNB5R/FtVwc/hn3R1Ql+W8/yc9SzAweDJI/ UT+g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id p15si3336622wrm.5.2019.01.15.02.10.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Jan 2019 02:10:22 -0800 (PST) Received-SPF: neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.m.ilbers.de (dslb-090-186-040-081.090.186.pools.vodafone-ip.de [90.186.40.81]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id x0FAAKmG001791 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 15 Jan 2019 11:10:21 +0100 Received: from yssyq.m.ilbers.de (localhost [127.0.0.1]) by yssyq.m.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPS id x0FAAFsH010695 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 15 Jan 2019 11:10:15 +0100 Received: (from ibr@localhost) by yssyq.m.ilbers.de (8.15.2/8.15.2/Submit) id x0FAAFdk010694 for isar-users@googlegroups.com; Tue, 15 Jan 2019 11:10:15 +0100 Date: Tue, 15 Jan 2019 11:10:14 +0100 From: Baurzhan Ismagulov To: isar-users Subject: Re: [PATCH 1/7] dpkg-raw: Respect file permissions defined by recipe Message-ID: <20190115101014.GE12226@yssyq.m.ilbers.de> Mail-Followup-To: isar-users References: <20190107142049.0c5426a3@md1za8fc.ad001.siemens.net> <20190109153706.GB12226@yssyq.m.ilbers.de> <6c2a13e5-513f-243f-3d82-317a8a9df228@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6c2a13e5-513f-243f-3d82-317a8a9df228@siemens.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-TUID: mu492ES4Ywlv On Thu, Jan 10, 2019 at 09:19:50AM +0800, Jan Kiszka wrote: > +FIXPERM_EXCLUSIONS = "${@' '.join(['-X ' + x for x in d.getVar('PRESERVE_PERMS', False).split()])}" > + > deb_create_rules() { > cat << EOF > ${S}/debian/rules > #!/usr/bin/make -f > > override_dh_fixperms: > + dh_fixperms ${EXCLUSIONS} Yes, this is what I meant. > > That said, I think the right way would be to create proper source packages > > downstream. > > Cannot follow that idea yet: What would be the interface? In that case, interface wouldn't be needed, since every downstream package would have its own debian/rules with desired dh_ helper command lines. With kind regards, Baurzhan.