ZFS source dir cleanup
This commit is contained in:
@@ -91,7 +91,8 @@ RUN git clone https://github.com/openzfs/zfs \
|
|||||||
&& ldconfig \
|
&& ldconfig \
|
||||||
&& depmod $(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}') \
|
&& depmod $(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}') \
|
||||||
&& dkms autoinstall -k $(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}') \
|
&& dkms autoinstall -k $(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}') \
|
||||||
&& rm -vrf /var \
|
&& cd / \
|
||||||
|
&& rm -vrf /var /zfs \
|
||||||
&& ostree container commit
|
&& ostree container commit
|
||||||
|
|
||||||
# TODO: Remove the following line once this bug is fixed: https://github.com/coreos/rpm-ostree/issues/4201
|
# TODO: Remove the following line once this bug is fixed: https://github.com/coreos/rpm-ostree/issues/4201
|
||||||
|
|||||||
Reference in New Issue
Block a user