From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6948863191726161920 X-Received: by 2002:adf:cd82:: with SMTP id q2mr2661905wrj.255.1617973310877; Fri, 09 Apr 2021 06:01:50 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:23c2:: with SMTP id j185ls4195092wmj.3.canary-gmail; Fri, 09 Apr 2021 06:01:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyANpbVWiC85rmcJc4O/sBc1PsGmefSt+vfpJ1NIsfql7o5aeOnwUvajHctQNN/3T4kMNgh X-Received: by 2002:a05:600c:4ecc:: with SMTP id g12mr6622401wmq.117.1617973309806; Fri, 09 Apr 2021 06:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617973309; cv=none; d=google.com; s=arc-20160816; b=B8JQi5jBQy8EgsLyDA5scES+/eWP5mZT50C2WNB0/pvnfI+bjcOv3vV/3VwKb/pC8g FirUv6ICF66DNiu+ig3FNmJRE15tcuWo514BlmsPo5SPAIDN5WIGD2vCeCM5PcSJ7/KB t2FotuL+ebQh/PJ/LckUOu53sMGwT0hGKThMOz76DicOjN8PT9OFgRl5h1g6YGYDrVE9 ojEGy0+in+KXOZ+FHaxDRDbZElybx8L/SMATnu38mW5vVQDTzI0ZkFRBngoHOWq/TsF9 d/G32MfjxiS4wQ6TRR7EjKnJo7C2IxKg2eRacGRO1ds6WcAyXvIZqSYiqCwPjHso/IOx BNbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject; bh=s38371vlt3giAS5xdxcuKskwBK6fsViQx6FjXmNh09o=; b=S/2lN1xOQRwT5ktCXRQdp/uaEORHduLgnNjbwXGohqN/pxuZGWxUk5XCGEfoHfhtZL v5M5zeMRO37shxfM65ttS6AfhfINjHp3WOcqXCZilPkAtAxoZHRcrnrB9qb0sTnodIn1 Ijh1HNLH1MMCjJlAwGt/3rSmPzuEH11nvytkrctYUivXYx9g0s/VFq/zX2EPffBGYg0f DP35CNGn12zzJKTUjbNCUmAKH9EmkmjRbB6As3s+FZwYpnVpPTw5c7TDum0+zi6gSnEc SRNLn9sWgpOnrL8gF02eUIVQVpOVDY/VwyMN4yxyYaCEyWxzXy06Iacr/q2E4RPtP180 nrIg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id o12si271921wrw.1.2021.04.09.06.01.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Apr 2021 06:01:49 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id 139D1nvN024177 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 9 Apr 2021 15:01:49 +0200 Received: from [167.87.45.197] ([167.87.45.197]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 139D1mhh021410; Fri, 9 Apr 2021 15:01:49 +0200 Subject: Re: isar-exclude-docs vs. openjdk et al. To: Henning Schild Cc: isar-users References: <51fed86f-7579-3f42-4780-c84e18bf4117@siemens.com> <20210409103005.0d904d99@md1za8fc.ad001.siemens.net> From: Jan Kiszka Message-ID: <265b98fc-524f-7f7e-164c-0215f5e9d494@siemens.com> Date: Fri, 9 Apr 2021 15:01:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210409103005.0d904d99@md1za8fc.ad001.siemens.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: /oOSHLUqc3GI On 09.04.21 10:30, Henning Schild wrote: > Hi, > > not sure that doc purging is really allowed or whether we are messing > with stuff we better should not mess with. > > Am Thu, 8 Apr 2021 20:54:28 +0200 > schrieb Jan Kiszka : > >> Hi all, >> >> there seems to be a conceptual issue with isar-exclude-docs purging >> documents in its postinst hook: If other packages are configured after >> isar-exclude-docs and those packages expects certain doc paths to be >> still there, see openjdk [1], they will fail. >> >> How to solve that? >> - maintain a list of conflicting packages in that recipe? > > This is going to be cumbersome but when having a packet that needs its > docs, we probably should not install that cleaner. > >> - convert the package to a post-process hook? > > would still break apt-get update of packages that need their docs > >> - find a way to ensure a compatible ordering when running our >> postinst? > > again going to break apt-get > > Looking at this one example it does not really need its docs, it just > expects them in "its own hack". My guess is that the problem can be > reproduced in a ubuntu container (where the no-docs stuff is coming > from), and can be used to report an issue so that the > update-alternatives script looks for the files conditionally. Or maybe > write a patch for that package and MR it on salsa directly. > > If you are installing java you probably can store a few MB of docs ;) > Yeah, the case that triggered that is a bug, not a real scenario. I'm lacking a feeling how common that combination is and if there might be realistic combinations as well. Jan > Henning > >> >> Jan >> >> [1] >> https://groups.google.com/g/isar-users/c/uIHgzvCGLwU/m/tuOchY6BAgAJ >> > -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux