From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6695999620571463680 X-Received: by 2002:a05:600c:204c:: with SMTP id p12mr2336172wmg.53.1559033901244; Tue, 28 May 2019 01:58:21 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a7b:cc09:: with SMTP id f9ls612179wmh.2.gmail; Tue, 28 May 2019 01:58:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjt04yhw8ZnoXxgpSy6CPLwP//dKenqxWnfDawCHtShjtpcwML7GrKLV12XtQU5qnKa15E X-Received: by 2002:a1c:80d7:: with SMTP id b206mr2361690wmd.48.1559033900845; Tue, 28 May 2019 01:58:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559033900; cv=none; d=google.com; s=arc-20160816; b=O7PmpE9wseq8bz6qN3l5pWrdeCUPK+5lI1Ya4A+323wfOMJWDW6RCMInlvdEIpN6JO iGdhrKk9OFUsqyWagz1XB8vTEGX9aYs8vRESL6l1AOApSDHhyrqhn2jTelF8nN+u6dKp zfjDlowg9DtvjGhISoP8t3MdM3KGuzqkmAE70j2/Jv8nOlbSaqkvhXQxJLCKJJmQEg3o Z90r4i2ywvzdexsHq5QGQmPhp+05pqh0xyn+XRMQ+LRmUbfAKzaPHHHpUaybpUVBUfaJ 4+JOYAp/qUoEyUyhULQe8IzMskxs2dTPCF15ypaZG3VrwqR6Q+WnPqNVD1FRmMpjIuYM TUjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=MjnWCYdZIi5bNViWuUbzZF2Y0B3fx8DT0QI8LLwk7SU=; b=GKZpnD7P6RLLDPLOKaIOnyuA0tJjZAJxVdGjY7+YMlAf9gt9ldhVCBGWNe52WVNNWz 2lnlR225JA3ay0muUvyq3RlAqU9lvF3XEKgI5fKcv8yQUK2SNpEY58dTy/qjGOtjSLFj wQM/914eEdZB2Qw79wzOLy7nAm5SY303bvM1geBY164h4b8JfZFWWRABv8hZWPJTSRAb U3p4s/X3XPvijV8MTD3RM9JteQA1KffQQXAhTykI3YnlPMAfGUoTgeKJdZHGgcMuLBIe yeBGfMJIdG3au+MEik5yq0kMM1VC6fGasgUTvYrnKK20PIQwjnosL43DrYQUQIpLMoVE 2M9w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@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 n10si116011wmh.0.2019.05.28.01.58.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 May 2019 01:58:20 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@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 claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@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 x4S8wKDA018118 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 May 2019 10:58:20 +0200 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.69.232]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x4S8wJEi003791; Tue, 28 May 2019 10:58:19 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH 0/3] Filesystem mounting and machine-id fix Date: Tue, 28 May 2019 10:58:11 +0200 Message-Id: <20190528085814.12967-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: aKk4OpgXtKJg From: Claudius Heine Hi, here is a small patchset that removes the fstab and the machine-id file. The fstab generation is much to inflexible and in its current form unnecessary. If it comes back in the future, then we should think about a good user API. As a result of the removal, I added a few 'rw' kernel arguments to the meta-isar wks files. I haven't touched the wks files from `scripts` yet, because I don't really know how/if those scripts are used downstream and would like an input from the community about this. When I use wic, I tend to write custom wks files. The machine-id removal is pretty simple and systemd will recreate it on first boot, but that requires a rw /etc directory. (Some exceptions possible, see systemd-machine-id-commit.service(8).) The machine-id patch can be applied without the first two patches. regards, Claudius Claudius Heine (3): wks: added 'rw' to kernel arguments image.bbclass: remove fstab generation image-postproc-extension: add removal of machine-id .../scripts/lib/wic/canned-wks/bananapi.wks | 2 +- .../lib/wic/canned-wks/directdisk-isar.wks | 2 +- .../scripts/lib/wic/canned-wks/sdimage-efi.wks | 2 +- meta/classes/image-postproc-extension.bbclass | 11 +++++++++-- meta/classes/image.bbclass | 16 ---------------- 5 files changed, 12 insertions(+), 21 deletions(-) -- 2.20.1