From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6808879013169201152 X-Received: by 2002:a5d:6841:: with SMTP id o1mr179711wrw.412.1586452723771; Thu, 09 Apr 2020 10:18:43 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:f5cc:: with SMTP id k12ls8972627wrp.6.gmail; Thu, 09 Apr 2020 10:18:42 -0700 (PDT) X-Google-Smtp-Source: APiQypIhzyBopLonEu1oZI/aIWOuG41DaVGbFnYtEZmsCXIIo0pEv/bXZlefEipTcgtKtqg4q3MD X-Received: by 2002:adf:d851:: with SMTP id k17mr182242wrl.157.1586452722195; Thu, 09 Apr 2020 10:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586452722; cv=none; d=google.com; s=arc-20160816; b=nODiOxXW6qmkG4k3NJlE+Kv0QfSfE5OAI6pkABnViz3eWdzeLgIoCyCtlM6nbmG6xQ dlANRKrL9cfkMqHTiI4/BTfUTg17RfNgYKndgVkVeUr7w/0wVoJ7k8x0WKQm3XghNzw+ 5+fCR5aCIgZ3ffFqzmQsZpMif0X443Ed2RtVOv1MRfby3if+OInaFJMijl/SQKf+kNht IdQMuDB73fJgEtNBfS5J6inGnSWgnLvutiYQr5PHXdXDiXPBmImg12c2XGbHBVXPK61v gbEVMr9SdukTfp3ztSqs744Z5xh41wCI3gX909k79At0Mu/c63SLM2fWUHfv9D557HFm 1O/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=XksKOeLiiXV0Sa14d18Lr/pX38y7i18iEEnuBVkdWk0=; b=fvp6hrDRt4v3bpRWnuCTlHf0Atya6BuDONViuGrHoRSntXxraG5pheNjqQT73+Fc2l XOrdiOFrIK4+R7np1RdJeV+4L5s1lTxT+dPOiXoQp/OqWzTzWf5HoZG5RHo4DFx3c6x6 p9MRh+qXGF4P91P+31EMDa/7GZuS/DUhZcPijLy1Pcv6cadrk152Xuld0JoYUrwq3s1W +12pQiH0gKSjdAl2EYMFcz8hNyAC38CkTfX6FEyhCCSfqzu84KMVeMpCvLhbw1y1hqcE NWargxId4Q8niusetJg6pHOVD4ys5D4QMGlgM1HVkChdRf4NeKqkilmu6CoogIYQZ1qb kL9Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id l20si748788wrc.0.2020.04.09.10.18.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2020 10:18:42 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id 039HIfSM002417 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 9 Apr 2020 19:18:41 +0200 Received: from md1za8fc.ad001.siemens.net ([167.87.12.67]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 039HIf8e003595; Thu, 9 Apr 2020 19:18:41 +0200 Date: Thu, 9 Apr 2020 19:18:40 +0200 From: Henning Schild To: Gylstorff Quirin Cc: Subject: Re: [PATCH v2 1/3] meta/support: Generate a custom initramfs Message-ID: <20200409191840.1e41dffb@md1za8fc.ad001.siemens.net> In-Reply-To: <66bf0dc3-90bf-c94b-b2a7-c38e88633f76@siemens.com> References: <20200327132801.19835-1-Quirin.Gylstorff@siemens.com> <20200403145510.28120-1-Quirin.Gylstorff@siemens.com> <20200403145510.28120-2-Quirin.Gylstorff@siemens.com> <20200409083922.05f007ee@md1za8fc.ad001.siemens.net> <66bf0dc3-90bf-c94b-b2a7-c38e88633f76@siemens.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: j4aIhzwoOrx1 Am Thu, 9 Apr 2020 15:59:35 +0200 schrieb Gylstorff Quirin : > On 4/9/20 8:39 AM, Henning Schild wrote: > > might be wrong but this looks like it can not run twice, which it > > would on a package update. Need a postrm or prerm? > > It can run twice but the second time it will not add existing entries > to the list. Your are right we need for this a post rm to remove > all added modules. And probably generate a new initrd after. The other postinst examples are also not updatable and removable, because their postinst can not run twice or they lack a postrm. But hopefully not anything in meta/ ... meta-isar/ is allowed to make such mistakes. Henning > > > > Henning > > Quirin