Browse Source

better handling of initrd creation

master
parent
commit
961883f3e8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tasks/customizable.yml

+ 2
- 2
tasks/customizable.yml View File

@@ -8,9 +8,9 @@
line: cp -R /rootfs_include/* /newroot/

- name: create customizable initrd
shell: sh -c "cd {{ debirf_profile_directory }}/nest && find * | cpio --create -H newc" > {{debirf_initrd}}
shell: find * | cpio --create -H newc > {{debirf_initrd}}
become: true
become_user: debirf
become_method: su
args:
chdir: "{{ debirf_home_directory }}"
chdir: "{{ debirf_profile_directory }}/nest"