From patchwork Thu Feb 1 13:07:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quirin Gylstorff X-Patchwork-Id: 151 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 01 Feb 2024 14:08:04 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-qt1-f184.google.com (mail-qt1-f184.google.com [209.85.160.184]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 411D832A018999 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 1 Feb 2024 14:08:04 +0100 Received: by mail-qt1-f184.google.com with SMTP id d75a77b69052e-42a9d648f6csf15074071cf.0 for ; Thu, 01 Feb 2024 05:08:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706792877; cv=pass; d=google.com; s=arc-20160816; b=GByvlIVL1/7NdMSULGmhjyzYNd1zLsk65qu4uVQGYQcB+re9WIEqSFZVK2juN23sbM 3HXtw4Xt8DsEyj4/nAB2qTB2mnBJDkbt2qWeKwysVC77Gk6bLc34McoGLCXYfhfMfUoe CmpG27qDR2M6loWyeJ0e2OBpChLmLNoHQdaH1eqtdx7L+SPzLkPO+hJocTGGtqlnvCB8 HeAHB6MYKSR52tM9J30RvfgGQFRq26F/Z6eYXlENMnWZgUxoI/2Jmi67shslhfwYrowA uaLZR5GfqTIS469JS0RVYfuOGRWbTWH6owdHF0HNjYqDZ95OJ/lNwDaUI5+lQEdIEh/3 pEYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:feedback-id:mime-version :message-id:date:subject:to:from:dkim-signature; bh=BsEG9OmOnSo+ySHj+XQ+Ebb3/TCGAmG9AsjPVEeKVlM=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=OIL9oSdkp+pbKZPM7zg69T43VodKvTu/gebwg+AjDPZo/D4gLbbTTda0UqApjq3S4q +VbThF1WEnADSoVug0sUfIy7wX0PZDCztxAyCGI9w8fMopsytTvbHG8453phKP25ZO6R C6FCQwSs/ytsIgPGITvh4WIZEt8lDnzdExTa2OKMWawVC+AVv+K4Kh9697LzAYbiWiHA aMRURVxoTA669pzfxeg5fE4NS7zOEmP9x8u/ZorQvqZdBTpMFJbs0TSxPW8nyS0q6jlv Q4lQyyley/iVVxXk5rf4wjN/U9oYokEAfecSRst9P0Uq1K8DRmqJFmm0/RzE62lSNhPy fDAQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=U591q0If; spf=pass (google.com: domain of fm-51332-20240201130755993973f1192f054c0a-il_cgg@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) smtp.mailfrom=fm-51332-20240201130755993973f1192f054c0a-IL_cgG@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1706792877; x=1707397677; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=BsEG9OmOnSo+ySHj+XQ+Ebb3/TCGAmG9AsjPVEeKVlM=; b=xgKtS09/BrSx41wnJqPpNi8X2VNjTlfn7f7MMaADYaLLB69ATWuRjnkrMiNH42EvdR cji0vVtAUPEzQHbTMM72NFojPFlim/eSZdILYHpUrr1Mbg+KHV3f+NPSCQTJA1aaerf0 NJQp4s6F0xv3t6yVG8E5FMf7WqS65Ghir6gHNNIUtDTADyqYUEK9gcA/3txVXC03c5+Y rooLb8V2bYAqVw6qS3D07KqgGt1p7Ja88pnNVOGmbf2sx/xUnrefsCvaRvv3abUM/K+b vdEYm0qjaos8Hsq90Crc4nTvYdqlWZQk4ueC8G2ysTWYMFwGydv1ZoxW5bn0MGfwPFTK Vp7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706792877; x=1707397677; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BsEG9OmOnSo+ySHj+XQ+Ebb3/TCGAmG9AsjPVEeKVlM=; b=wAk4Wcrb296hzXByQkmRk/OhlmBoeE8fkXgw4w9ywFHo2fCn1Rk/6tLsl0P1GowVt/ LDs+uvGfk/iWm2jX2684+dmtpU9jASdus3E52Hh7qmkbj2KchPY2rEA9TRtfAmW7JRKg e5wR8DIH4NCcGOc7JGrOY94cuHL4/0S0UyfFUBY5XExM2nVDH5B+Mw/ZimBvtOQrmybY 9e6s9sM+DHQmPSEDGjyuL6AkyIt82EQxUvVf74u1A3AvvzDa4NqurI9wuS23rqSlneAv sFyuZfpZrjpZqI1fRyAl8t2fo1otQ9nTiVZBkGqu7DpWoW8xUwEQm73ieKyTZJr3wEpr g8VQ== X-Gm-Message-State: AOJu0YzCymYBNALJw5iPqQLUNIVZFaJI+VleV/5K0KyP+KFf2t5NqoV0 Q5Sfg0JzeeZWsbLqnMiAR54h/zeM1bZEsQIRgxDc5Ru2mu/BZPuQ X-Google-Smtp-Source: AGHT+IFgQ8/82djW7yq4a0apKtvkQMyxudLa9zmqSTOPMYcveaS32RSI9kFz/WBr5r8/6VXqQ2YwOQ== X-Received: by 2002:a05:622a:1993:b0:42b:f0ce:d791 with SMTP id u19-20020a05622a199300b0042bf0ced791mr4894432qtc.20.1706792877559; Thu, 01 Feb 2024 05:07:57 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac8:53d9:0:b0:42b:f1aa:a500 with SMTP id c25-20020ac853d9000000b0042bf1aaa500ls1499088qtq.1.-pod-prod-00-us; Thu, 01 Feb 2024 05:07:56 -0800 (PST) X-Received: by 2002:a37:c44d:0:b0:783:c2f2:5745 with SMTP id h13-20020a37c44d000000b00783c2f25745mr3118360qkm.33.1706792876512; Thu, 01 Feb 2024 05:07:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706792876; cv=none; d=google.com; s=arc-20160816; b=w9n09OkVGXggqHb5v7InrAOXMiARG3XfL2XuUvQsW/ihPCaIn0yqojGAdBz36ok52F s/aQc9xFcWwKh33jyuqcw/bkW8OQqOBZH2keeUsWesxzbbZm+l01YPbOKIkmhFRfFXaU JzmpAiga+WM9n2NXQLEKzzFntya90jx19wGy20OH7eSlQd7yTXNEIlWZSYwPT6zfIBH5 MALI3hWLaDSeETIpsYiMjqTV4poSfhHHpSmdRX7xJRCi74VYlthnwfkFDSwALFZvshzP emuqPwPozb1jmzt9WB3kIRKyz5lLvY8GDC+haN/iGXrBlB34dULbQDov+yXNGd6uqDfq /8rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:to:from:dkim-signature; bh=XjI5Vu3kXr48lb1RAmqsEdvhfBIarxOX3Ucog/ju2xw=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=KBQ0lgXiwSgTK7tXXzvHWvSAdf5x0etG2aJLAIrest+KRivWO5KQHhfHjcC8wRrQc+ ep8s73b950MMh+KBPE4xMg3oXKRAndxmsqVId5VrqZyWkiBVkds9EmYSVttAuJHUze4t 7odGhviUoIb0m53uUGHoxBGbca/7ygNXsc1BiguS5J6y+YsIoPfEKvpAtvaToIVyF4iS CRrN+lpTYpwn08uMKiDBFGr4/9u1bmSyOXDsZk1MEepRr3LguaPUROyqi/YMZizpd2Z7 4IGpC0VhJJDX/ptUU8oyzzswAWSjxTvjwk51wp0NKUJkRm/MBkgmcoRwbzppX2w0DA1E NJeQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=U591q0If; spf=pass (google.com: domain of fm-51332-20240201130755993973f1192f054c0a-il_cgg@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) smtp.mailfrom=fm-51332-20240201130755993973f1192f054c0a-IL_cgG@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-228.siemens.flowmailer.net (mta-65-228.siemens.flowmailer.net. [185.136.65.228]) by gmr-mx.google.com with ESMTPS id h12-20020a05620a400c00b00783b8853720si910580qko.3.2024.02.01.05.07.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2024 05:07:56 -0800 (PST) Received-SPF: pass (google.com: domain of fm-51332-20240201130755993973f1192f054c0a-il_cgg@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) client-ip=185.136.65.228; Received: by mta-65-228.siemens.flowmailer.net with ESMTPSA id 20240201130755993973f1192f054c0a for ; Thu, 01 Feb 2024 14:07:55 +0100 X-Patchwork-Original-From: "'Quirin Gylstorff' via isar-users" From: Quirin Gylstorff To: isar-users@googlegroups.com Subject: [RFC PATCH 0/2] debianize: Use dh_installsystemd Date: Thu, 1 Feb 2024 14:07:40 +0100 Message-ID: <20240201130752.3734292-1-Quirin.Gylstorff@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-51332:519-21489:flowmailer X-Original-Sender: quirin.gylstorff@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=U591q0If; spf=pass (google.com: domain of fm-51332-20240201130755993973f1192f054c0a-il_cgg@rts-flowmailer.siemens.com designates 185.136.65.228 as permitted sender) smtp.mailfrom=fm-51332-20240201130755993973f1192f054c0a-IL_cgG@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Quirin Gylstorff Reply-To: Quirin Gylstorff Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Quirin Gylstorff This series adds the variable DEBIAN_SYSTEMD_SERVICE which defines a systemd file to automatically be added to the debian folder and automatically installed by using `dh_installsystemd`. Quirin Gylstorff (2): debianize: use dh_installsystemd to automatically add systemd service meta/recipe-support: Use DEBIAN_SYSTEMD_SERVICE variable meta/classes/debianize.bbclass | 15 +++++++++++++++ meta/recipes-support/enable-fsck/enable-fsck.bb | 6 ++---- meta/recipes-support/enable-fsck/files/postinst | 3 --- .../expand-on-first-boot_1.4.bb | 7 ++----- .../expand-on-first-boot/files/postinst | 3 --- .../sshd-regen-keys/sshd-regen-keys_0.4.bb | 1 + 6 files changed, 20 insertions(+), 15 deletions(-) delete mode 100644 meta/recipes-support/enable-fsck/files/postinst delete mode 100644 meta/recipes-support/expand-on-first-boot/files/postinst